diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-08-04 01:52:32 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-08-04 01:52:32 (GMT) |
commit | ca97fd305394d48c0050cd230ce41a057fd71636 (patch) | |
tree | a3ddfc487ebc2662303f44520b8eea4d7658b575 /Doc | |
parent | 2acc525a972b2b6b071eb5b9596ed1390d6d98e0 (diff) | |
download | cpython-ca97fd305394d48c0050cd230ce41a057fd71636.zip cpython-ca97fd305394d48c0050cd230ce41a057fd71636.tar.gz cpython-ca97fd305394d48c0050cd230ce41a057fd71636.tar.bz2 |
Issue #17902: Clarify doc of ElementTree.iterparse
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/xml.etree.elementtree.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 45a0e7b..00cdacd 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -384,7 +384,8 @@ Functions and ``"end-ns"`` (the "ns" events are used to get detailed namespace information). If *events* is omitted, only ``"end"`` events are reported. *parser* is an optional parser instance. If not given, the standard - :class:`XMLParser` parser is used. Returns an :term:`iterator` providing + :class:`XMLParser` parser is used. *parser* can only use the default + :class:`TreeBuilder` as a target. Returns an :term:`iterator` providing ``(event, elem)`` pairs. .. note:: |