]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95691: Doc BufferedWriter and BufferedReader (#95703)
author180909 <734461790@qq.com>
Wed, 5 Oct 2022 23:57:42 +0000 (07:57 +0800)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 23:57:42 +0000 (16:57 -0700)
Doc/library/io.rst

index 7ec990c3212a3e9868d5a590c79aafc08c455134..8fd6b3537019aa96efba28c0ac60ac62eb1a81ab 100644 (file)
@@ -272,7 +272,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.