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

Commit 7df6749

Browse filesBrowse files
[3.13] gh-85045: clarified that the underlying buffer of a TextIOBase can be a RawIOBase (GH-134372) (#134375)
gh-85045: clarified that the underlying buffer of a TextIOBase can be a RawIOBase (GH-134372) Added a clarification that the underlying binary buffer of a TextIOBase can be a BufferedIOBase OR a RawIOBase (cherry picked from commit 36eb711) Co-authored-by: Alex Kautz <alex@takemobi.com>
1 parent 4c22fa6 commit 7df6749
Copy full SHA for 7df6749

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎Doc/library/io.rst

Copy file name to clipboardExpand all lines: Doc/library/io.rst
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -879,9 +879,10 @@ Text I/O
879879

880880
.. attribute:: buffer
881881

882-
The underlying binary buffer (a :class:`BufferedIOBase` instance) that
883-
:class:`TextIOBase` deals with. This is not part of the
884-
:class:`TextIOBase` API and may not exist in some implementations.
882+
The underlying binary buffer (a :class:`BufferedIOBase`
883+
or :class:`RawIOBase` instance) that :class:`TextIOBase` deals with.
884+
This is not part of the :class:`TextIOBase` API and may not exist
885+
in some implementations.
885886

886887
.. method:: detach()
887888

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.