bpo-36543: Revert "bpo-36543: Remove the xml.etree.cElementTree module." (GH-20117) (GH-20780)
* Revert "bpo-36543: Remove the xml.etree.cElementTree module. (GH-19108)"
This reverts commit b33e52511a59c6da7132c226b7f7489b092a33eb.
(cherry picked from commit ec88e1bca81a167e6d5c0ac635e22f84298cb1df)
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index 2085a85..7725e4d 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -15,6 +15,8 @@
.. versionchanged:: 3.3
This module will use a fast implementation whenever available.
+
+.. deprecated:: 3.3
The :mod:`xml.etree.cElementTree` module is deprecated.
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index e9814a8..66dce83 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -826,11 +826,6 @@
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,
- 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