]> granicus.if.org Git - python/commitdiff
Issue #13513: IOBase docs incorrectly link to the readline module
authorMeador Inge <meadori@gmail.com>
Sat, 3 Dec 2011 18:13:42 +0000 (12:13 -0600)
committerMeador Inge <meadori@gmail.com>
Sat, 3 Dec 2011 18:13:42 +0000 (12:13 -0600)
Doc/library/io.rst
Misc/NEWS

index 969b4080f7affd875b606c69b1f4451ddcddf7f4..d50e66501b46cc395d59a2253ccbf9fc24fd1b62 100644 (file)
@@ -233,7 +233,7 @@ I/O Base Classes
    :class:`IOBase` object can be iterated over yielding the lines in a stream.
    Lines are defined slightly differently depending on whether the stream is
    a binary stream (yielding :class:`bytes`), or a text stream (yielding
-   :class:`unicode` strings).  See :meth:`readline` below.
+   :class:`unicode` strings).  See :meth:`~IOBase.readline` below.
 
    IOBase is also a context manager and therefore supports the
    :keyword:`with` statement.  In this example, *file* is closed after the
index ef0696032381d67e1754a65614aa13dff32acfea..4c45a854ff3f8fb99a7da066f20e95119bddecc5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -430,6 +430,9 @@ Tests
 Documentation
 -------------
 
+- Issue #13513: Fix io.IOBase documentation to correctly link to the
+  io.IOBase.readline method instead of the readline module.
+
 - Issue #13237: Reorganise subprocess documentation to emphasise convenience
   functions and the most commonly needed arguments to Popen.