Commit ad0fc8dd authored by Andrés Delfino's avatar Andrés Delfino Committed by Serhiy Storchaka

[2.7] bpo-33804: Document that the argument for io.TextIOBase.read() is...

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

(cherry picked from commit b6bb77c2)
Co-authored-by: default avatarAndrés Delfino <adelfino@gmail.com>
parent 8902a1d1
......@@ -724,7 +724,7 @@ Text I/O
.. versionadded:: 2.7
.. method:: read(n)
.. method:: read(n=-1)
Read and return at most *n* characters from the stream as a single
:class:`unicode`. If *n* is negative or ``None``, reads until EOF.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment