Kaydet (Commit) a83878e6 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

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

üst 183fe81f
......@@ -153,6 +153,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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment