From 6cda0adf3a1e2e1ba3dfe0423214a87647fe9a0c Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 11 Jul 2013 18:25:19 +0300 Subject: [PATCH] Issue #18336. Fix a link to StreamReader's read() method. --- Doc/library/codecs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 39a3c5dff603..61da3ed9e7e8 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -653,7 +653,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. -- 2.47.3