From bd357ede2d14bfea156de83e40efdc161dfd5036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Delfino?= Date: Thu, 7 Jun 2018 21:45:09 -0300 Subject: [PATCH] Initial commit --- Doc/library/io.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/io.rst b/Doc/library/io.rst index f2e0fdbc5bf3cd..98649de7310f0b 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -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.