Skip to content

Commit 82c045f

Browse files
[3.12] typo: missing line of output in pull parser example (GH-111068) (#111217)
Co-authored-by: Don Patterson <[email protected]>
1 parent 6a5aab0 commit 82c045f

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)