]> granicus.if.org Git - python/commitdiff
Merged revisions 87762 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 5 Jan 2011 18:41:10 +0000 (18:41 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 5 Jan 2011 18:41:10 +0000 (18:41 +0000)
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.
........

Doc/library/pyexpat.rst

index 30a98fcc4ac65c9439d0c3672abf09297925e396..1eb9db112258cf2b6f0c14483470568481d2822c 100644 (file)
@@ -154,6 +154,13 @@ XMLParser Objects
    :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])