summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rittau <srittau@rittau.org>2017-12-13 09:39:55 +0100
committerAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-13 10:39:55 +0200
commitc3e070f84931c847d1b35e7fb36aa71edd6215f6 (patch)
tree470812ae6ab49379304a7fd88be5ce339404352d
parentfc5db95e0063eafa2bfb7f487fcaad5a7c4b65a1 (diff)
downloadcpython-git-c3e070f84931c847d1b35e7fb36aa71edd6215f6.tar.gz
bpo-32284: Fix documentation of BinaryIO and TextIO (#4832)
-rw-r--r--Doc/library/typing.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index d28a5d5484..9c4777ac2f 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -774,9 +774,9 @@ The module defines the following classes, functions and decorators:
Wrapper namespace for I/O stream types.
- This defines the generic type ``IO[AnyStr]`` and aliases ``TextIO``
- and ``BinaryIO`` for respectively ``IO[str]`` and ``IO[bytes]``.
- These represent the types of I/O streams such as returned by
+ This defines the generic type ``IO[AnyStr]`` and subclasses ``TextIO``
+ and ``BinaryIO``, deriving from ``IO[str]`` and ``IO[bytes]``,
+ respectively. These represent the types of I/O streams such as returned by
:func:`open`.
These types are also accessible directly as ``typing.IO``,