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

This commit is contained in:
Sebastian Rittau 2017-12-13 09:39:55 +01:00 committed by Andrew Svetlov
parent fc5db95e00
commit c3e070f849
1 changed files with 3 additions and 3 deletions

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