]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
typo: missing line of output in pull parser example (#111068)
authorDon Patterson <37046246+don-patterson@users.noreply.github.com>
Mon, 23 Oct 2023 15:54:29 +0000 (12:54 -0300)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2023 15:54:29 +0000 (18:54 +0300)
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