diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-05 18:37:22 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-05 18:37:22 (GMT) |
commit | a83878e69379cac65868648eb361f4b098c9afef (patch) | |
tree | c4436a7373791854ac79d4af1e0c8262f9632cf7 /Doc/library/pyexpat.rst | |
parent | 183fe81f8fbb6f924ea12dedac272ce61219e96c (diff) | |
download | cpython-a83878e69379cac65868648eb361f4b098c9afef.zip cpython-a83878e69379cac65868648eb361f4b098c9afef.tar.gz cpython-a83878e69379cac65868648eb361f4b098c9afef.tar.bz2 |
Issue #5485: Add doc for expat.xmlparser.SetParamEntityParsing.
Diffstat (limited to 'Doc/library/pyexpat.rst')
-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 390c38e..a648cfa 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -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]) |