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.
........
This commit is contained in:
Antoine Pitrou 2011-01-05 18:41:13 +00:00
parent 0fc07b10ae
commit 5047225bac
1 changed files with 7 additions and 0 deletions

View File

@ -157,6 +157,13 @@ XMLParser Objects
:attr:`ordered_attributes`, :attr:`returns_unicode` 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])