bpo-32284: Fix documentation of BinaryIO and TextIO (GH-4832) (#4833)

(cherry picked from commit c3e070f849)
This commit is contained in:
Miss Islington (bot) 2017-12-13 00:59:01 -08:00 committed by Ned Deily
parent 638f68c8bc
commit 898a3e4901

View file

@ -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``,