Skip to content

Commit 94c2ddf

Browse files
typo: missing line of output in pull parser example (#111068)
1 parent 46cea34 commit 94c2ddf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/library/xml.etree.elementtree.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ elements, call :meth:`XMLPullParser.read_events`. Here is an example::
154154
... print(elem.tag, 'text=', elem.text)
155155
...
156156
end
157+
mytag text= sometext more text
157158

158159
The obvious use case is applications that operate in a non-blocking fashion
159160
where the XML data is being received from a socket or read incrementally from

0 commit comments

Comments
 (0)