File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -620,10 +620,11 @@ Functions
620620 ``"pi" ``, ``"start-ns" `` and ``"end-ns" ``
621621 (the "ns" events are used to get detailed namespace
622622 information). If *events * is omitted, only ``"end" `` events are reported.
623- *parser * is an optional parser instance. If not given, the standard
624- :class: `XMLParser ` parser is used. *parser * must be an instance of
625- :class: `XMLParser ` or its subclass and can only use the default
626- :class: `TreeBuilder ` as a target. Returns an :term: `iterator ` providing ``(event, elem) `` pairs;
623+ *parser * is an optional parser instance.
624+ If not given, the standard :class: `XMLParser ` parser is used.
625+ *parser * must be an instance of :class: `XMLParser ` or its subclass
626+ and can only use the default :class: `TreeBuilder ` as a target.
627+ Returns an :term: `iterator ` providing ``(event, elem) `` pairs;
627628 it has a ``root `` attribute that references the root element of the
628629 resulting XML tree once *source * is fully read.
629630 The iterator has the :meth: `!close ` method that closes the internal
You can’t perform that action at this time.
0 commit comments