Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c812360

Browse files
committed
Merged revisions 87762 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent f9844c8 commit c812360

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/library/pyexpat.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,13 @@ XMLParser Objects
154154
:attr:`ordered_attributes` and :attr:`specified_attributes` set to the values of
155155
this parser.
156156

157+
.. method:: xmlparser.SetParamEntityParsing(flag)
158+
159+
Control parsing of parameter entities (including the external DTD subset).
160+
Possible *flag* values are :const:`XML_PARAM_ENTITY_PARSING_NEVER`,
161+
:const:`XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE` and
162+
:const:`XML_PARAM_ENTITY_PARSING_ALWAYS`. Return true if setting the flag
163+
was successful.
157164

158165
.. method:: xmlparser.UseForeignDTD([flag])
159166

0 commit comments

Comments
 (0)