Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions Doc/whatsnew/3.9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,13 @@ Removed
Use :meth:`~threading.Thread.is_alive()` instead.
(Contributed by Dong-hee Na in :issue:`37804`.)

* Methods ``getchildren()`` and ``getiterator()`` in the
:mod:`~xml.etree.ElementTree` module have been removed. They were
deprecated in Python 3.2. Use functions :func:`list` and :func:`iter`
instead. The ``xml.etree.cElementTree`` module has been removed.
* Methods ``getchildren()`` and ``getiterator()`` of classes
:class:`~xml.etree.ElementTree.ElementTree` and
:class:`~xml.etree.ElementTree.Element` in the :mod:`~xml.etree.ElementTree`
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.
(Contributed by Serhiy Storchaka in :issue:`36543`.)

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