diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-05-05 15:08:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 15:08:04 +0300 |
commit | d8a8ad567e96b5e810b16ac3bd38145d9d54eebd (patch) | |
tree | 89e9125f80f406b18f8a4d590ebf2f33b20b4168 | |
parent | d64c2da6c8597fb4e79da55ff0c6788695688b5a (diff) | |
download | cpython-git-revert-19108-remove-cElementTree.tar.gz |
Update docs. (#19922)revert-19108-remove-cElementTree
-rw-r--r-- | Doc/library/xml.etree.elementtree.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.9.rst | 5 | ||||
-rw-r--r-- | Misc/NEWS.d/3.9.0a1.rst | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 658bc3a54f..bdd0d40cab 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -15,6 +15,8 @@ for parsing and creating XML data. .. versionchanged:: 3.3 This module will use a fast implementation whenever available. + +.. versiondeprecated:: 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 11e577baa8..ac5331e0fd 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -670,11 +670,6 @@ 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, - 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 diff --git a/Misc/NEWS.d/3.9.0a1.rst b/Misc/NEWS.d/3.9.0a1.rst index fb74d36222..e5b4972b19 100644 --- a/Misc/NEWS.d/3.9.0a1.rst +++ b/Misc/NEWS.d/3.9.0a1.rst @@ -3372,7 +3372,7 @@ markup and any values in the message. Patch by Paul Ganssle .. section: Library Removed methods Element.getchildren(), Element.getiterator() and -ElementTree.getiterator() and the xml.etree.cElementTree module. +ElementTree.getiterator(). .. |