From: Eli Bendersky Date: Thu, 24 Jan 2013 15:28:33 +0000 (-0800) Subject: Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument X-Git-Tag: v2.7.4rc1~164^2~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4fbf24aad46622f72ba97ca6aa4a6dcbaae24a0;p=python Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument --- diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 9ce781e52a..e3a24081a3 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::