summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-09-01 08:18:35 (GMT)
committerGitHub <noreply@github.com>2019-09-01 08:18:35 (GMT)
commitf02ea6225bc3b71bd5fe66224d199a6e3e23b14d (patch)
treeffd4a17d92f18ad031f5aa221d67876ffe8e8865 /Doc/library
parentc5b242f87f31286ad38991bc3868cf4cfbf2b681 (diff)
downloadcpython-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/library')
-rw-r--r--Doc/library/xml.etree.elementtree.rst18
1 files changed, 0 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.