summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/codecs.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index e80fc3a..fcef948 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -694,7 +694,7 @@ compatible with the Python codec registry.
Read one line from the input stream and return the decoded data.
*size*, if given, is passed as size argument to the stream's
- :meth:`readline` method.
+ :meth:`read` method.
If *keepends* is false line-endings will be stripped from the lines
returned.