commit | b6bb77c2b8e83ba6cb845c7b512ac564276e854f | [log] [tgz] |
---|---|---|
author | Andrés Delfino <adelfino@gmail.com> | Sat Jul 07 17:17:16 2018 -0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sat Jul 07 23:17:16 2018 +0300 |
tree | 5f094273d5f4098f58068b1f529c036eef08f567 | |
parent | 2d748389dc9c8d083f51c7d28761e088a5468c86 [diff] [blame] |
bpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510)
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index f2e0fdb..98649de 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst
@@ -799,7 +799,7 @@ .. 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.