Issue #18336. Fix a link to StreamReader's read() method.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 11 Jul 2013 15:26:13 +0000 (18:26 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 11 Jul 2013 15:26:13 +0000 (18:26 +0300)
Doc/library/codecs.rst

index e80fc3a33d2503855307768e4b704e5aef914ec3..fcef948895c1207b79b6ab6f513c70b7a3b97680 100644 (file)
@@ -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.