From: Meador Inge Date: Sat, 3 Dec 2011 18:29:54 +0000 (-0600) Subject: Issue #13513: IOBase docs incorrectly link to the readline module X-Git-Tag: v3.2.3rc1~331 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=777bebb0efe025f2e050d08206ae336934387ad7;p=python Issue #13513: IOBase docs incorrectly link to the readline module --- diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 4da61957a1..972820cfcc 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -217,7 +217,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 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 index b9700e94cf..c5324644d4 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -316,6 +316,9 @@ Extension Modules 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.