Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 8 Doc/library/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ than raw I/O does.

.. class:: BufferedWriter(raw, buffer_size=DEFAULT_BUFFER_SIZE)

A buffered binary stream providing higher-level access to a writeable, non
A buffered binary stream providing higher-level access to a writable, non
seekable :class:`RawIOBase` raw binary stream. It inherits
:class:`BufferedIOBase`.

Expand All @@ -795,7 +795,7 @@ than raw I/O does.
* when a :meth:`seek()` is requested (for :class:`BufferedRandom` objects);
* when the :class:`BufferedWriter` object is closed or destroyed.

The constructor creates a :class:`BufferedWriter` for the given writeable
The constructor creates a :class:`BufferedWriter` for the given writable
*raw* stream. If the *buffer_size* is not given, it defaults to
:data:`DEFAULT_BUFFER_SIZE`.

Expand Down Expand Up @@ -833,11 +833,11 @@ than raw I/O does.
.. class:: BufferedRWPair(reader, writer, buffer_size=DEFAULT_BUFFER_SIZE, /)

A buffered binary stream providing higher-level access to two non seekable
:class:`RawIOBase` raw binary streams---one readable, the other writeable.
:class:`RawIOBase` raw binary streams---one readable, the other writable.
It inherits :class:`BufferedIOBase`.

*reader* and *writer* are :class:`RawIOBase` objects that are readable and
writeable respectively. If the *buffer_size* is omitted it defaults to
writable respectively. If the *buffer_size* is omitted it defaults to
:data:`DEFAULT_BUFFER_SIZE`.

:class:`BufferedRWPair` implements all of :class:`BufferedIOBase`\'s methods
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.