summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/xml.etree.elementtree.rst18
-rw-r--r--Doc/whatsnew/3.9.rst6
2 files changed, 6 insertions, 18 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index 6047e6e..1b4e2c9 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -873,18 +873,6 @@ Element Objects
in the expression into the given namespace.
- .. method:: getchildren()
-
- .. deprecated-removed:: 3.2 3.9
- Use ``list(elem)`` or iteration.
-
-
- .. method:: getiterator(tag=None)
-
- .. deprecated-removed:: 3.2 3.9
- Use method :meth:`Element.iter` instead.
-
-
.. method:: insert(index, subelement)
Inserts *subelement* at the given position in this element. Raises
@@ -1019,12 +1007,6 @@ ElementTree Objects
Same as :meth:`Element.findtext`, starting at the root of the tree.
- .. method:: getiterator(tag=None)
-
- .. deprecated-removed:: 3.2 3.9
- Use method :meth:`ElementTree.iter` instead.
-
-
.. method:: getroot()
Returns the root element for this tree.
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
=====================