summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
author180909 <734461790@qq.com>2022-10-05 23:57:42 (GMT)
committerGitHub <noreply@github.com>2022-10-05 23:57:42 (GMT)
commit0d68879104dfb392d31e52e25dcb0661801a0249 (patch)
treeebacfd446fae74621aa2699ea89b5418a963d488 /Doc/library
parent74ea204634f8eb4745afd5cb75c3fe7749cf38b5 (diff)
downloadcpython-0d68879104dfb392d31e52e25dcb0661801a0249.zip
cpython-0d68879104dfb392d31e52e25dcb0661801a0249.tar.gz
cpython-0d68879104dfb392d31e52e25dcb0661801a0249.tar.bz2
gh-95691: Doc BufferedWriter and BufferedReader (#95703)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/io.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 7ec990c..8fd6b35 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -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.