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 5733d5a commit 4d832e0Copy full SHA for 4d832e0
Doc/library/io.rst
@@ -774,8 +774,8 @@ than raw I/O does.
774
At least one byte of data is returned if not at EOF.
775
Return an empty :class:`bytes` object at EOF.
776
At most one single read on the underlying raw stream is done to satisfy the call.
777
- The exact number of bytes returned is unspecified
778
- (*size* is ignored).
+ The *size* argument is ignored.
+ The number of read bytes depends on the buffer size and the current position in the internal buffer.
779
780
.. method:: read(size=-1, /)
781
0 commit comments