mirror of
https://github.com/python/cpython.git
synced 2026-06-28 11:50:50 +00:00
[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:
parent
0aa9f434ad
commit
d5f93ce156
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue