[Python-checkins] Fix Doc/whatsnew/3.8.rst (GH-8848)

Berker Peksag webhook-mailer at python.org
Tue Aug 21 10:58:57 EDT 2018


https://github.com/python/cpython/commit/ef8861c112ed1dac9351958c121bc24ca4ecdb08
commit: ef8861c112ed1dac9351958c121bc24ca4ecdb08
branch: master
author: Berker Peksag <berker.peksag at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-08-21T17:58:49+03:00
summary:

Fix Doc/whatsnew/3.8.rst (GH-8848)

The entry about deprecation of __getitem__ methods of
several classes was placed in the wrong section.

files:
M Doc/whatsnew/3.8.rst

diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index ef5455a9f6e2..1f816a1436e8 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -154,15 +154,6 @@ Build and C API Changes
 
   (Contributed by Antoine Pitrou in :issue:`32430`.)
 
-* The :meth:`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`,
-  :class:`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput` have been
-  deprecated.
-
-  Implementations of these methods have been ignoring their *index* parameter,
-  and returning the next item instead.
-
-  (Contributed by Berker Peksag in :issue:`9372`.)
-
 
 Deprecated
 ==========
@@ -179,6 +170,15 @@ Deprecated
   deprecated and will be prohibited in Python 3.9.
   (Contributed by Elvis Pranskevichus in :issue:`34075`.)
 
+* The :meth:`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`,
+  :class:`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput` have been
+  deprecated.
+
+  Implementations of these methods have been ignoring their *index* parameter,
+  and returning the next item instead.
+
+  (Contributed by Berker Peksag in :issue:`9372`.)
+
 
 Removed
 =======



More information about the Python-checkins mailing list