[Python-checkins] r87762 - python/branches/py3k/Doc/library/pyexpat.rst

antoine.pitrou python-checkins at python.org
Wed Jan 5 19:37:22 CET 2011


Author: antoine.pitrou
Date: Wed Jan  5 19:37:22 2011
New Revision: 87762

Log:
Issue #5485: Add doc for expat.xmlparser.SetParamEntityParsing.



Modified:
   python/branches/py3k/Doc/library/pyexpat.rst

Modified: python/branches/py3k/Doc/library/pyexpat.rst
==============================================================================
--- python/branches/py3k/Doc/library/pyexpat.rst	(original)
+++ python/branches/py3k/Doc/library/pyexpat.rst	Wed Jan  5 19:37:22 2011
@@ -153,6 +153,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