summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2018-08-11 06:05:04 (GMT)
committerGitHub <noreply@github.com>2018-08-11 06:05:04 (GMT)
commit84a13fbda0d79789e3c9efcc9f64752261ce1e8d (patch)
tree5cc443f7bbfde403e0f7a731b5fda5fb4f54676a /Misc
parent423d05f6f59b24c91b9ef6b2e4ac130316764382 (diff)
downloadcpython-84a13fbda0d79789e3c9efcc9f64752261ce1e8d.zip
cpython-84a13fbda0d79789e3c9efcc9f64752261ce1e8d.tar.gz
cpython-84a13fbda0d79789e3c9efcc9f64752261ce1e8d.tar.bz2
bpo-9372: Deprecate several __getitem__ methods (GH-8609)
The __getitem__ methods of DOMEventStream, FileInput, and FileWrapper classes ignore their 'index' parameters and return the next item instead.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-08-01-21-26-17.bpo-9372.V8Ou3K.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-08-01-21-26-17.bpo-9372.V8Ou3K.rst b/Misc/NEWS.d/next/Library/2018-08-01-21-26-17.bpo-9372.V8Ou3K.rst
new file mode 100644
index 0000000..8ae5ce1
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-08-01-21-26-17.bpo-9372.V8Ou3K.rst
@@ -0,0 +1,3 @@
+Deprecate :meth:`__getitem__` methods of
+:class:`xml.dom.pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper`
+and :class:`fileinput.FileInput`.