summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-01-24 15:28:33 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-01-24 15:28:33 (GMT)
commitf4fbf24aad46622f72ba97ca6aa4a6dcbaae24a0 (patch)
treec5fbee9f9aea01469268b5d55e8c34fc6e0d0eb3
parenteb01949709e13642a3fd6e45faa9b32946057cf7 (diff)
downloadcpython-f4fbf24aad46622f72ba97ca6aa4a6dcbaae24a0.zip
cpython-f4fbf24aad46622f72ba97ca6aa4a6dcbaae24a0.tar.gz
cpython-f4fbf24aad46622f72ba97ca6aa4a6dcbaae24a0.tar.bz2
Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument
-rw-r--r--Doc/library/xml.etree.elementtree.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index 9ce781e..e3a2408 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -403,8 +403,9 @@ Functions
going on to the user. *source* is a filename or file object containing XML
data. *events* is a list of events to report back. If 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 ``(event, elem)`` pairs.
+ given, the standard :class:`XMLParser` parser is used. *parser* is not
+ supported by ``cElementTree``. Returns an :term:`iterator` providing
+ ``(event, elem)`` pairs.
.. note::