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 4ed4237 commit b87870bCopy full SHA for b87870b
Doc/library/io.rst
@@ -571,7 +571,8 @@ I/O Base Classes
571
Read and return up to *size* bytes. If the argument is omitted, ``None``,
572
or negative read as much as possible.
573
574
- Reading as much as possible will use :meth:`~raw.readall` if available,
+ The default implementation will use :py:func:`raw.readall` if available (
575
+ which should implement :meth:`RawIOBase.readall`),
576
otherwise will read in a loop until read returns ``None``, a size-zero
577
``bytes``, or a non-retryable error. For most streams this is to EOF, but
578
for non-blocking streams more data may become available.
0 commit comments