[Python-checkins] r87763 - in python/branches/release31-maint: Doc/library/pyexpat.rst

antoine.pitrou python-checkins at python.org
Wed Jan 5 19:41:10 CET 2011


Author: antoine.pitrou
Date: Wed Jan  5 19:41:10 2011
New Revision: 87763

Log:
Merged revisions 87762 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87762 | antoine.pitrou | 2011-01-05 19:37:22 +0100 (mer., 05 janv. 2011) | 3 lines
  
  Issue #5485: Add doc for expat.xmlparser.SetParamEntityParsing.
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Doc/library/pyexpat.rst

Modified: python/branches/release31-maint/Doc/library/pyexpat.rst
==============================================================================
--- python/branches/release31-maint/Doc/library/pyexpat.rst	(original)
+++ python/branches/release31-maint/Doc/library/pyexpat.rst	Wed Jan  5 19:41:10 2011
@@ -154,6 +154,13 @@
    :attr:`ordered_attributes` and :attr:`specified_attributes` set to the values of
    this parser.
 
+.. method:: xmlparser.SetParamEntityParsing(flag)
+
+   Control parsing of parameter entities (including the external DTD subset).
+   Possible *flag* values are :const:`XML_PARAM_ENTITY_PARSING_NEVER`,
+   :const:`XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE` and
+   :const:`XML_PARAM_ENTITY_PARSING_ALWAYS`.  Return true if setting the flag
+   was successful.
 
 .. method:: xmlparser.UseForeignDTD([flag])
 


More information about the Python-checkins mailing list