bpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510)

This commit is contained in:
Andrés Delfino 2018-07-07 17:17:16 -03:00 committed by Serhiy Storchaka
parent 2d748389dc
commit b6bb77c2b8
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ Text I/O
.. versionadded:: 3.1
.. method:: read(size)
.. method:: read(size=-1)
Read and return at most *size* characters from the stream as a single
:class:`str`. If *size* is negative or ``None``, reads until EOF.