mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
Fix Doc/whatsnew/3.8.rst (GH-8848)
The entry about deprecation of __getitem__ methods of several classes was placed in the wrong section.
This commit is contained in:
parent
3e26e42c90
commit
ef8861c112
1 changed files with 9 additions and 9 deletions
|
@ -154,15 +154,6 @@ Build and C API Changes
|
||||||
|
|
||||||
(Contributed by Antoine Pitrou in :issue:`32430`.)
|
(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
|
Deprecated
|
||||||
==========
|
==========
|
||||||
|
@ -179,6 +170,15 @@ Deprecated
|
||||||
deprecated and will be prohibited in Python 3.9.
|
deprecated and will be prohibited in Python 3.9.
|
||||||
(Contributed by Elvis Pranskevichus in :issue:`34075`.)
|
(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
|
Removed
|
||||||
=======
|
=======
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue