cpython (merge 3.2 -> default): Issue #13513: IOBase docs incorrectly link to the readline module

http://hg.python.org/cpython/rev/ab5bc05ac223 changeset: 73828:ab5bc05ac223 parent: 73825:9ffb00748a47 parent: 73827:9792e812198f user: Meador Inge <meadori@gmail.com> date: Sat Dec 03 12:50:18 2011 -0600 summary: Issue #13513: IOBase docs incorrectly link to the readline module files: Doc/library/io.rst | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Doc/library/io.rst b/Doc/library/io.rst --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -213,7 +213,7 @@ :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 bytes), or a text stream (yielding character - strings). See :meth:`readline` below. + 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 diff --git a/Misc/NEWS b/Misc/NEWS --- a/Misc/NEWS +++ b/Misc/NEWS @@ -1885,6 +1885,9 @@ 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. -- Repository URL: http://hg.python.org/cpython
participants (1)
-
meador.inge