Skip to content
Prev Previous commit
Next Next commit
Update docs. (#19922)
  • Loading branch information
serhiy-storchaka authored May 5, 2020
commit d8a8ad567e96b5e810b16ac3bd38145d9d54eebd
2 changes: 2 additions & 0 deletions Doc/library/xml.etree.elementtree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
scoder marked this conversation as resolved.
Outdated
The :mod:`xml.etree.cElementTree` module is deprecated.


Expand Down
5 changes: 0 additions & 5 deletions Doc/whatsnew/3.9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.9.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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().

..

Expand Down