diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-05 18:41:10 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-05 18:41:10 (GMT) |
commit | c812360461706943712782591e3d51f4603f22ce (patch) | |
tree | d794f5718fc398dd97698c33998e3530ee9151bf /Doc | |
parent | f9844c8292c34fe4361d441164d83642fc76ce68 (diff) | |
download | cpython-c812360461706943712782591e3d51f4603f22ce.zip cpython-c812360461706943712782591e3d51f4603f22ce.tar.gz cpython-c812360461706943712782591e3d51f4603f22ce.tar.bz2 |
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.
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/pyexpat.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index 30a98fc..1eb9db1 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -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]) |