Kaydet (Commit) c3e070f8 authored tarafından Sebastian Rittau's avatar Sebastian Rittau Kaydeden (comit) Andrew Svetlov

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

üst fc5db95e
......@@ -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``,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment