summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.etree.elementtree.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-23 16:03:54 (GMT)
committerGitHub <noreply@github.com>2023-10-23 16:03:54 (GMT)
commit82c045f3019203fa0f3443f2845d71f086c7e1fa (patch)
tree8ba2f0ba81e860536125810a62b59d166dd8e3c7 /Doc/library/xml.etree.elementtree.rst
parent6a5aab0cb40672892eba4f5b0df5759505d7e5b9 (diff)
downloadcpython-82c045f3019203fa0f3443f2845d71f086c7e1fa.zip
cpython-82c045f3019203fa0f3443f2845d71f086c7e1fa.tar.gz
cpython-82c045f3019203fa0f3443f2845d71f086c7e1fa.tar.bz2
[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>
Diffstat (limited to 'Doc/library/xml.etree.elementtree.rst')
-rw-r--r--Doc/library/xml.etree.elementtree.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index 54c9300..c9b3263 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