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

gh-80050: Update BufferedReader.read docs around non-blocking #130653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 21, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
in read1 refer to EINTR retrying
  • Loading branch information
cmaloney committed Mar 13, 2025
commit 7c4ef7ea360e4b5025d50fde024383151e0872da
9 changes: 4 additions & 5 deletions 9 Doc/library/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -592,11 +592,10 @@

.. method:: read1(size=-1, /)

Read and return up to *size* bytes, with at most one call to the
underlying raw stream's :meth:`~RawIOBase.read` (or
:meth:`~RawIOBase.readinto`) method. If *size* is ``-1`` or not provided,
the implementation will decide a size to use and at most one call will be
made.
Read and return up to *size* bytes, calilng :meth:`~raw.readinto`,

Check warning on line 595 in Doc/library/io.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: raw.readinto [ref.meth]
retrying if :py:const:`~errno.EINTR` is encountered per :pep:`475`. If
*size* is ``-1`` or not provided, the implementation will choose an
arbitrary value for *size*.

.. note::

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.