diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-09-01 08:18:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 08:18:35 (GMT) |
commit | f02ea6225bc3b71bd5fe66224d199a6e3e23b14d (patch) | |
tree | ffd4a17d92f18ad031f5aa221d67876ffe8e8865 /Doc/whatsnew | |
parent | c5b242f87f31286ad38991bc3868cf4cfbf2b681 (diff) | |
download | cpython-f02ea6225bc3b71bd5fe66224d199a6e3e23b14d.zip cpython-f02ea6225bc3b71bd5fe66224d199a6e3e23b14d.tar.gz cpython-f02ea6225bc3b71bd5fe66224d199a6e3e23b14d.tar.bz2 |
bpo-36543: Remove old-deprecated ElementTree features. (GH-12707)
Remove methods Element.getchildren(), Element.getiterator() and
ElementTree.getiterator() and the xml.etree.cElementTree module.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index e20ae47..0a0b916 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -207,6 +207,12 @@ 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. + (Contributed by Serhiy Storchaka in :issue:`36543`.) + Porting to Python 3.9 ===================== |