[wwwsearch-commits] r25545 - wwwsearch/pullparser/trunk

jjlee at codespeak.net jjlee at codespeak.net
Sat Apr 8 15:28:44 CEST 2006


Author: jjlee
Date: Sat Apr  8 15:28:44 2006
New Revision: 25545

Modified:
   wwwsearch/pullparser/trunk/pullparser.py
Log:
Fix entitydefs documentation

Modified: wwwsearch/pullparser/trunk/pullparser.py
==============================================================================
--- wwwsearch/pullparser/trunk/pullparser.py	(original)
+++ wwwsearch/pullparser/trunk/pullparser.py	Sat Apr  8 15:28:44 2006
@@ -283,10 +283,10 @@
         .get_tag() first (unless you want an empty string returned when you
         next call .get_text()).
 
-        Entity references are translated using the entitydefs attribute (a
-        mapping from names to characters like that provided by the standard
-        module htmlentitydefs).  Named entity references that are not in this
-        mapping are left unchanged.
+        Entity references are translated using the value of the entitydefs
+        constructor argument (a mapping from names to characters like that
+        provided by the standard module htmlentitydefs).  Named entity
+        references that are not in this mapping are left unchanged.
 
         The textify attribute is used to translate opening tags into text: see
         the class docstring.


More information about the wwwsearch-commits mailing list