Skip to content

Commit d8a8ad5

Browse files
Update docs. (#19922)
1 parent d64c2da commit d8a8ad5

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Doc/library/xml.etree.elementtree.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ for parsing and creating XML data.
1515

1616
.. versionchanged:: 3.3
1717
This module will use a fast implementation whenever available.
18+
19+
.. versiondeprecated:: 3.3
1820
The :mod:`xml.etree.cElementTree` module is deprecated.
1921

2022

Doc/whatsnew/3.9.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -670,11 +670,6 @@ Removed
670670
module have been removed. They were deprecated in Python 3.2.
671671
Use ``iter(x)`` or ``list(x)`` instead of ``x.getchildren()`` and
672672
``x.iter()`` or ``list(x.iter())`` instead of ``x.getiterator()``.
673-
The ``xml.etree.cElementTree`` module has been removed,
674-
use the :mod:`xml.etree.ElementTree` module instead.
675-
Since Python 3.3 the ``xml.etree.cElementTree`` module has been deprecated,
676-
the ``xml.etree.ElementTree`` module uses a fast implementation whenever
677-
available.
678673
(Contributed by Serhiy Storchaka in :issue:`36543`.)
679674

680675
* The old :mod:`plistlib` API has been removed, it was deprecated since Python

Misc/NEWS.d/3.9.0a1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3372,7 +3372,7 @@ markup and any values in the message. Patch by Paul Ganssle
33723372
.. section: Library
33733373
33743374
Removed methods Element.getchildren(), Element.getiterator() and
3375-
ElementTree.getiterator() and the xml.etree.cElementTree module.
3375+
ElementTree.getiterator().
33763376

33773377
..
33783378

0 commit comments

Comments
 (0)