https://github.com/python/cpython/commit/d3bfccdbd53955bcc0d4f1747fff0b20713bae59
commit: d3bfccdbd53955bcc0d4f1747fff0b20713bae59
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-06-02T22:22:45+03:00
summary:

[3.13] gh-141627: Fix BufferedRandom inheritance documentation (GH-141629) 
(GH-150803)

BufferedRandom does not inherit from BufferedReader and BufferedWriter
in the C implementation.
(cherry picked from commit 551bc2cb5ed4719c35ca3ea0f320167dd750389e)

Co-authored-by: Mohsin Mehmood <[email protected]>

files:
M Doc/library/io.rst

diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index a090cbb70e82c8..f93d753af32a8a 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -824,9 +824,9 @@ than raw I/O does.
 
 .. class:: BufferedRandom(raw, buffer_size=DEFAULT_BUFFER_SIZE)
 
-   A buffered binary stream providing higher-level access to a seekable
-   :class:`RawIOBase` raw binary stream.  It inherits from 
:class:`BufferedReader`
-   and :class:`BufferedWriter`.
+   A buffered binary stream implementing :class:`BufferedIOBase` interfaces
+   providing higher-level access to a seekable :class:`RawIOBase` raw binary
+   stream.
 
    The constructor creates a reader and writer for a seekable raw stream, given
    in the first argument.  If the *buffer_size* is omitted it defaults to

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to