Skip to content

Commit ef8861c

Browse files
authored
Fix Doc/whatsnew/3.8.rst (GH-8848)
The entry about deprecation of __getitem__ methods of several classes was placed in the wrong section.
1 parent 3e26e42 commit ef8861c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,6 @@ Build and C API Changes
154154

155155
(Contributed by Antoine Pitrou in :issue:`32430`.)
156156

157-
* The :meth:`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`,
158-
:class:`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput` have been
159-
deprecated.
160-
161-
Implementations of these methods have been ignoring their *index* parameter,
162-
and returning the next item instead.
163-
164-
(Contributed by Berker Peksag in :issue:`9372`.)
165-
166157

167158
Deprecated
168159
==========
@@ -179,6 +170,15 @@ Deprecated
179170
deprecated and will be prohibited in Python 3.9.
180171
(Contributed by Elvis Pranskevichus in :issue:`34075`.)
181172

173+
* The :meth:`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`,
174+
:class:`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput` have been
175+
deprecated.
176+
177+
Implementations of these methods have been ignoring their *index* parameter,
178+
and returning the next item instead.
179+
180+
(Contributed by Berker Peksag in :issue:`9372`.)
181+
182182

183183
Removed
184184
=======

0 commit comments

Comments
 (0)