mirror of
https://github.com/python/cpython.git
synced 2025-10-22 06:32:43 +00:00
Issue #13513: IOBase docs incorrectly link to the readline module
This commit is contained in:
commit
80c219b5e7
2 changed files with 4 additions and 1 deletions
|
@ -213,7 +213,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue