From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 24 Oct 2022 16:53:15 +0000 (-0700) Subject: gh-95913: Fix grammar for SpooledTemporaryFile 3.11 whatsnew entry (GH-98604) X-Git-Tag: v3.11.1~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f6cfc5678092e51804113dbd45c621921eb1f29;p=thirdparty%2FPython%2Fcpython.git gh-95913: Fix grammar for SpooledTemporaryFile 3.11 whatsnew entry (GH-98604) Followup from GH-98312. (cherry picked from commit c5a9d3f67fc4b62543ddf6bc7b9ed392c2a81ec3) Co-authored-by: Jelle Zijlstra --- diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index d9528c62e67c..7aa071cc97cc 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -1000,7 +1000,7 @@ sysconfig tempfile -------- -* :class:`~tempfile.SpooledTemporaryFile` objects now fully implements the methods +* :class:`~tempfile.SpooledTemporaryFile` objects now fully implement the methods of :class:`io.BufferedIOBase` or :class:`io.TextIOBase` (depending on file mode). This lets them work correctly with APIs that expect file-like objects,