mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #5485: Add doc for expat.xmlparser.SetParamEntityParsing.
This commit is contained in:
parent
183fe81f8f
commit
a83878e693
1 changed files with 7 additions and 0 deletions
|
|
@ -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])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue