summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-07-11 15:27:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-07-11 15:27:20 (GMT)
commit491856074fba81d599b5bbd546e6ae9d2af674e7 (patch)
tree934edc76425be57bb95931c52d688270ad9ba070 /Doc
parent6cee994674a77f73fd0bf79344c0c79021a0ea03 (diff)
parentcca40ffa974ed8ed83b3b2bfb496f8c50ccbb241 (diff)
downloadcpython-491856074fba81d599b5bbd546e6ae9d2af674e7.zip
cpython-491856074fba81d599b5bbd546e6ae9d2af674e7.tar.gz
cpython-491856074fba81d599b5bbd546e6ae9d2af674e7.tar.bz2
Issue #18336. Fix a link to StreamReader's read() method.
Diffstat (limited to 'Doc')
-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.