Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument

This commit is contained in:
Eli Bendersky 2013-01-24 07:28:33 -08:00
parent eb01949709
commit f4fbf24aad
1 changed files with 3 additions and 2 deletions

View File

@ -403,8 +403,9 @@ Functions
going on to the user. *source* is a filename or file object containing XML 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" 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 events are reported. *parser* is an optional parser instance. If not
given, the standard :class:`XMLParser` parser is used. Returns an given, the standard :class:`XMLParser` parser is used. *parser* is not
:term:`iterator` providing ``(event, elem)`` pairs. supported by ``cElementTree``. Returns an :term:`iterator` providing
``(event, elem)`` pairs.
.. note:: .. note::