mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
bpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510)
This commit is contained in:
parent
2d748389dc
commit
b6bb77c2b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue