summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-10-13 20:12:09 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-10-13 20:12:09 (GMT)
commit98b28fddd8e63e1a9410facee3e41925eed8ac46 (patch)
tree410d277cbb20078d5fd226e8dd4d24bd225237d8 /Doc/library/io.rst
parent6039db8de30b5c20ba864cc4127fbfabf6fc0641 (diff)
parentbfdcd436f0410e2b3eb34ce4fd7411488d3f13fb (diff)
downloadcpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.zip
cpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.tar.gz
cpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.tar.bz2
Issue #18758: Fixed and improved cross-references.
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index aac913e..7925e33 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -157,7 +157,7 @@ standard stream implementations.
The abstract base classes also provide default implementations of some
methods in order to help implementation of concrete stream classes. For
example, :class:`BufferedIOBase` provides unoptimized implementations of
- ``readinto()`` and ``readline()``.
+ :meth:`~IOBase.readinto` and :meth:`~IOBase.readline`.
At the top of the I/O hierarchy is the abstract base class :class:`IOBase`. It
defines the basic interface to a stream. Note, however, that there is no
@@ -228,7 +228,7 @@ I/O Base Classes
The basic type used for binary data read from or written to a file is
:class:`bytes`. :class:`bytearray`\s are accepted too, and in some cases
- (such as :class:`readinto`) required. Text I/O classes work with
+ (such as :meth:`readinto`) required. Text I/O classes work with
:class:`str` data.
Note that calling any method (even inquiries) on a closed stream is