diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 862f765b148c73..360a0af0ee4e5b 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2875,8 +2875,8 @@ ABCs and Protocols for working with I/O --------------------------------------- .. class:: IO[AnyStr] - TextIO[AnyStr] - BinaryIO[AnyStr] + TextIO + BinaryIO Generic class ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and ``BinaryIO(IO[bytes])``