[3.15] gh-141627: Fix BufferedRandom inheritance documentation (GH-141629) (GH-150801)

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

Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2026-06-02 21:23:15 +02:00 committed by GitHub
parent 0aa9f434ad
commit d5f93ce156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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