summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/io.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 0c7d3c7..b8dc688 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -289,7 +289,7 @@ I/O Base Classes
most *size* bytes will be read.
The line terminator is always ``b'\n'`` for binary files; for text files,
- the *newlines* argument to :func:`open` can be used to select the line
+ the *newline* argument to :func:`open` can be used to select the line
terminator(s) recognized.
.. method:: readlines(hint=-1)