summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-07-11 15:26:13 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-07-11 15:26:13 (GMT)
commitcca40ffa974ed8ed83b3b2bfb496f8c50ccbb241 (patch)
tree9411fe63ba18a283e7c73a44120f2083118821c7 /Doc/library
parent7ce57d67c925be894486ff6e3a6e330a1986cdcd (diff)
downloadcpython-cca40ffa974ed8ed83b3b2bfb496f8c50ccbb241.zip
cpython-cca40ffa974ed8ed83b3b2bfb496f8c50ccbb241.tar.gz
cpython-cca40ffa974ed8ed83b3b2bfb496f8c50ccbb241.tar.bz2
Issue #18336. Fix a link to StreamReader's read() method.
Diffstat (limited to 'Doc/library')
-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.