Add description of major changes in xml.etree.ElementTree to whatsnew/3.3

This commit is contained in:
Eli Bendersky 2012-08-09 08:20:20 +03:00
parent 3a2b97e48a
commit efcaba065e
1 changed files with 12 additions and 0 deletions

View File

@ -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
=============