mirror of https://github.com/python/cpython.git
[3.11] typo: missing line of output in pull parser example (GH-111068) (#111218)
Co-authored-by: Don Patterson <37046246+don-patterson@users.noreply.github.com>
This commit is contained in:
parent
135d5c5840
commit
a449a70bcb
|
@ -154,6 +154,7 @@ elements, call :meth:`XMLPullParser.read_events`. Here is an example::
|
|||
... print(elem.tag, 'text=', elem.text)
|
||||
...
|
||||
end
|
||||
mytag text= sometext more text
|
||||
|
||||
The obvious use case is applications that operate in a non-blocking fashion
|
||||
where the XML data is being received from a socket or read incrementally from
|
||||
|
|
Loading…
Reference in New Issue