]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-95691: Doc BufferedWriter and BufferedReader (GH-95703) (#97947)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Oct 2022 00:21:55 +0000 (17:21 -0700)
committerPablo Galindo <pablogsal@gmail.com>
Sat, 22 Oct 2022 19:05:06 +0000 (20:05 +0100)
gh-95691: Doc BufferedWriter and BufferedReader (GH-95703)
(cherry picked from commit 0d68879104dfb392d31e52e25dcb0661801a0249)

Co-authored-by: 180909 <734461790@qq.com>
Co-authored-by: 180909 <734461790@qq.com>
Doc/library/io.rst

index 97a70646a93cabc5a8d6b5e57e3b41dc7507665c..03c90ad72b9e436b76615cab2db81cd989fb0172 100644 (file)
@@ -270,7 +270,7 @@ to provide an interface to files in the machine's file system.
 The :class:`BufferedIOBase` ABC extends :class:`IOBase`.  It deals with
 buffering on a raw binary stream (:class:`RawIOBase`).  Its subclasses,
 :class:`BufferedWriter`, :class:`BufferedReader`, and :class:`BufferedRWPair`
-buffer raw binary streams that are readable, writable, and both readable and writable,
+buffer raw binary streams that are writable, readable, and both readable and writable,
 respectively. :class:`BufferedRandom` provides a buffered interface to seekable streams.
 Another :class:`BufferedIOBase` subclass, :class:`BytesIO`, is a stream of
 in-memory bytes.