From 5203270e2f3cd8d820690d8f2839e7d992ccebdc Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 3 Aug 2024 11:50:31 +0300 Subject: [PATCH] Update Misc/NEWS.d/next/Library/2024-08-02-20-01-36.gh-issue-122559.2JlJr3.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- .../Library/2024-08-02-20-01-36.gh-issue-122559.2JlJr3.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Misc/NEWS.d/next/Library/2024-08-02-20-01-36.gh-issue-122559.2JlJr3.rst b/Misc/NEWS.d/next/Library/2024-08-02-20-01-36.gh-issue-122559.2JlJr3.rst index f2e2a6f2520916..4ef9daa1bac26f 100644 --- a/Misc/NEWS.d/next/Library/2024-08-02-20-01-36.gh-issue-122559.2JlJr3.rst +++ b/Misc/NEWS.d/next/Library/2024-08-02-20-01-36.gh-issue-122559.2JlJr3.rst @@ -1,6 +1,6 @@ Remove :meth:`!__reduce__` and :meth:`!__reduce_ex__` methods that always raise :exc:`TypeError` in the C implementation of :class:`io.FileIO`, :class:`io.BufferedReader`, :class:`io.BufferedWriter` and -:class:`io.BufferedRandom` and replace them with :meth:`!__getstatus__` -methods that always raise :exc:`!TypeError`. This restores fine details of -behavior of Python 3.11 and older versions. +:class:`io.BufferedRandom` and replace them with default +:meth:`!__getstate__` methods that raise :exc:`!TypeError`. +This restores fine details of behavior of Python 3.11 and older versions.