summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-01-05 04:52:50 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-01-05 04:52:50 (GMT)
commit410d320703313b6a303094b8355ae7cc1f0196f6 (patch)
treeafeaab503d68b01b002889d08115706085b26e96 /Doc/whatsnew
parentaed5b22ead9127103cea2de8722d36b90a320142 (diff)
downloadcpython-410d320703313b6a303094b8355ae7cc1f0196f6.zip
cpython-410d320703313b6a303094b8355ae7cc1f0196f6.tar.gz
cpython-410d320703313b6a303094b8355ae7cc1f0196f6.tar.bz2
whatsnew: XMLPullParser, plus some doc updates.
I was confused by the text saying that read_events "iterated", since it actually returns an iterator (that's what a generator does) that the caller must then iterate. So I tidied up the language. I'm not sure what the sentence "Events provided in a previous call to read_events() will not be yielded again." is trying to convey, so I didn't try to fix that. Also fixed a couple more news items.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.4.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index ab48020..f954f12 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1088,9 +1088,10 @@ Richard Oudkerk in :issue:`15528`)
xml.etree
---------
-Add an event-driven parser for non-blocking applications,
-:class:`~xml.etree.ElementTree.XMLPullParser`.
-(Contributed by Antoine Pitrou in :issue:`17741`.)
+A new parser, :class:`~xml.etree.ElementTree.XMLPullParser`, allows a
+non-blocking applications to parse XML documents. An example can be
+seen at :ref:`elementtree-pull-parsing`. (Contributed by Antoine
+Pitrou in :issue:`17741`.)
The :mod:`xml.etree.ElementTree` :func:`~xml.etree.ElementTree.tostring` and
:func:`~xml.etree.ElementTree.tostringlist` functions, and the