]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] typo: missing line of output in pull parser example (GH-111068) (#111217)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Oct 2023 16:03:54 +0000 (18:03 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2023 16:03:54 +0000 (16:03 +0000)
Co-authored-by: Don Patterson <37046246+don-patterson@users.noreply.github.com>
Doc/library/xml.etree.elementtree.rst

index 54c93008503c0280bd9f90ab282e5e29aa016982..c9b32632c6b309ece9d9d38eb0356ebe937456a1 100644 (file)
@@ -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