ID EN
Typing

IO

Python 3.11

Generic type IO[AnyStr] and its subclasses TextIO(IO[str]) and BinaryIO(IO[bytes]) represent the types of I/O streams such as returned by open().

Syntax

PYTHON
class typing.IO

See Also

open()