diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 300041dc3bb176..dcdd01cd0aa5db 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -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.