We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59bd2a1 commit fbbc382Copy full SHA for fbbc382
Doc/library/io.rst
@@ -584,8 +584,8 @@ I/O Base Classes
584
most streams this is to EOF, but for non-blocking streams more data may
585
become available.
586
587
- The standard library :class:`io.BufferedReader` returns ``None`` if
588
- reading would block and no data is available. Other implementations may
+ The standard library :class:`io.BufferedReader` returns ``None`` if the
+ stream is non-blocking and no data is available. Other implementations may
589
return ``None`` or raise :exc:`BlockingIOError`.
590
591
.. method:: read1(size=-1, /)
0 commit comments