[3.12] GH-101100: Fix reference warnings for `__getitem__` (GH-110118) (#111073)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-10-19 17:33:03 +02:00 committed by GitHub
parent 68a5640a36
commit cdcab408a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 38 additions and 38 deletions

View file

@ -1720,7 +1720,7 @@ Improve the speed and accuracy of statistics.pvariance().
.. nonce: WI9zQY
.. section: Library
Remove :meth:`__getitem__` methods of
Remove :meth:`~object.__getitem__` methods of
:class:`xml.dom.pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper`
and :class:`fileinput.FileInput`, deprecated since Python 3.9.

View file

@ -3592,7 +3592,7 @@ Python 3.5.
.. nonce: V8Ou3K
.. section: Library
Deprecate :meth:`__getitem__` methods of
Deprecate :meth:`~object.__getitem__` methods of
:class:`xml.dom.pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper`
and :class:`fileinput.FileInput`.