[Python-checkins] cpython (2.7): Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser

eli.bendersky python-checkins at python.org
Thu Jan 24 16:28:48 CET 2013


http://hg.python.org/cpython/rev/8f2edea69d5d
changeset:   81691:8f2edea69d5d
branch:      2.7
parent:      81670:ef5e61ac27ad
user:        Eli Bendersky <eliben at gmail.com>
date:        Thu Jan 24 07:28:33 2013 -0800
summary:
  Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument

files:
  Doc/library/xml.etree.elementtree.rst |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -403,8 +403,9 @@
    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::
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list