summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.pulldom.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2021-09-08 10:07:40 (GMT)
committerGitHub <noreply@github.com>2021-09-08 10:07:40 (GMT)
commitd003a5bd2505a7fa04f50504b68ba8fca67349cd (patch)
tree530dacbc66f083a0ecfcad123bab220cb6796bb5 /Doc/library/xml.dom.pulldom.rst
parentcb15afcccffc6c42cbfb7456ce8db89cd2f77512 (diff)
downloadcpython-d003a5bd2505a7fa04f50504b68ba8fca67349cd.zip
cpython-d003a5bd2505a7fa04f50504b68ba8fca67349cd.tar.gz
cpython-d003a5bd2505a7fa04f50504b68ba8fca67349cd.tar.bz2
bpo-45132 Remove deprecated __getitem__ methods (GH-28225)
Remove deprecated __getitem__ methods of xml.dom.pulldom.DOMEventStream, wsgiref.util.FileWrapper and fileinput.FileInput, deprecated since Python 3.9.
Diffstat (limited to 'Doc/library/xml.dom.pulldom.rst')
-rw-r--r--Doc/library/xml.dom.pulldom.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/xml.dom.pulldom.rst b/Doc/library/xml.dom.pulldom.rst
index 660c75c..d1df465 100644
--- a/Doc/library/xml.dom.pulldom.rst
+++ b/Doc/library/xml.dom.pulldom.rst
@@ -114,8 +114,8 @@ DOMEventStream Objects
.. class:: DOMEventStream(stream, parser, bufsize)
- .. deprecated:: 3.8
- Support for :meth:`sequence protocol <__getitem__>` is deprecated.
+ .. versionchanged:: 3.11
+ Support for :meth:`__getitem__` method has been removed.
.. method:: getEvent()
@@ -144,4 +144,3 @@ DOMEventStream Objects
print(node.toxml())
.. method:: DOMEventStream.reset()
-