From f4fbf24aad46622f72ba97ca6aa4a6dcbaae24a0 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 24 Jan 2013 07:28:33 -0800 Subject: [PATCH] Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument --- Doc/library/xml.etree.elementtree.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 9ce781e52ab..e3a24081a30 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::