summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-08-09 05:20:20 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-08-09 05:20:20 (GMT)
commitefcaba065ee06aba54d735b68bec5b89ba212497 (patch)
treee03694a72707857e814cb38472badcc2c273ef9a
parent3a2b97e48aad00b936be16b600be80356cdaba76 (diff)
downloadcpython-efcaba065ee06aba54d735b68bec5b89ba212497.zip
cpython-efcaba065ee06aba54d735b68bec5b89ba212497.tar.gz
cpython-efcaba065ee06aba54d735b68bec5b89ba212497.tar.bz2
Add description of major changes in xml.etree.ElementTree to whatsnew/3.3
-rw-r--r--Doc/whatsnew/3.3.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index ce7a644..858fce8 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1602,6 +1602,18 @@ project and :program:`gvfs-open` which is the default URI handler for GNOME 3.
(:issue:`13620` and :issue:`14493`)
+xml.etree.ElementTree
+---------------------
+
+The :mod:`xml.etree.ElementTree` module now imports its C accelerator by
+default; there is no longer a need to explicitly import
+:mod:`xml.etree.cElementTree` (this module stays for backwards compatibility,
+but is now deprecated). In addition, the ``iter`` family of methods of
+:class:`~xml.etree.ElementTree.Element` has been optimized (rewritten in C).
+The module's documentation has also been greatly improved with added examples
+and a more detailed reference.
+
+
Optimizations
=============