From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:03:54 +0000 (+0200) Subject: [3.12] typo: missing line of output in pull parser example (GH-111068) (#111217) X-Git-Tag: v3.12.1~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82c045f3019203fa0f3443f2845d71f086c7e1fa;p=thirdparty%2FPython%2Fcpython.git [3.12] typo: missing line of output in pull parser example (GH-111068) (#111217) 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 54c93008503c..c9b32632c6b3 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