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

index 76c5b89ac6631618ccdace7b5f64939dc7a00c9d..7fd4c7a4a5da2ba489e705b6345f1c18f9381781 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