(original) (raw)

changeset: 73826:fb8b6d310fb8 branch: 2.7 parent: 73822:ee94b89f65ab user: Meador Inge meadori@gmail.com date: Sat Dec 03 12:13:42 2011 -0600 files: Doc/library/io.rst Misc/NEWS description: Issue #13513: IOBase docs incorrectly link to the readline module diff -r ee94b89f65ab -r fb8b6d310fb8 Doc/library/io.rst --- a/Doc/library/io.rst Mon Nov 07 10:44:25 2011 -0500 +++ b/Doc/library/io.rst Sat Dec 03 12:13:42 2011 -0600 @@ -233,7 +233,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 :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 diff -r ee94b89f65ab -r fb8b6d310fb8 Misc/NEWS --- a/Misc/NEWS Mon Nov 07 10:44:25 2011 -0500 +++ b/Misc/NEWS Sat Dec 03 12:13:42 2011 -0600 @@ -430,6 +430,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. /meadori@gmail.com