summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiro HronĨok <miro@hroncok.cz>2020-03-27 19:59:02 (GMT)
committerGitHub <noreply@github.com>2020-03-27 19:59:02 (GMT)
commit6467134307cf01802c9f1c0384d8acbebecbd400 (patch)
treeb006bcd0e1a7151f7c62c199f1343cc41615def4
parentb61b818d916942aad1f8f3e33181801c4a1ed14b (diff)
downloadcpython-6467134307cf01802c9f1c0384d8acbebecbd400.zip
cpython-6467134307cf01802c9f1c0384d8acbebecbd400.tar.gz
cpython-6467134307cf01802c9f1c0384d8acbebecbd400.tar.bz2
bpo-36543: What's new: Document how to replace xml.etree.cElementTree (GH-19188)
-rw-r--r--Doc/whatsnew/3.9.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index a76445b..f58bcbc 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -671,7 +671,11 @@ Removed
module have been removed. They were deprecated in Python 3.2.
Use ``iter(x)`` or ``list(x)`` instead of ``x.getchildren()`` and
``x.iter()`` or ``list(x.iter())`` instead of ``x.getiterator()``.
- The ``xml.etree.cElementTree`` module has been removed.
+ The ``xml.etree.cElementTree`` module has been removed,
+ use the :mod:`xml.etree.ElementTree` module instead.
+ Since Python 3.3 the ``xml.etree.cElementTree`` module has been deprecated,
+ the ``xml.etree.ElementTree`` module uses a fast implementation whenever
+ available.
(Contributed by Serhiy Storchaka in :issue:`36543`.)
* The old :mod:`plistlib` API has been removed, it was deprecated since Python