From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:04:52 +0000 (+0200) Subject: [3.11] typo: missing line of output in pull parser example (GH-111068) (#111218) X-Git-Tag: v3.11.7~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a449a70bcbd9fd0eeccfad1ff852ede03978d691;p=thirdparty%2FPython%2Fcpython.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> --- diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 76c5b89ac663..7fd4c7a4a5da 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -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