Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument
This commit is contained in:
parent
eb01949709
commit
f4fbf24aad
|
@ -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::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue