Doc: remove the invalid type variables of typing.TextIO and BinaryIO (#142642)

They are not generic classes.
This commit is contained in:
Roman Donchenko 2025-12-12 21:20:49 +02:00 committed by GitHub
parent 1eddef8193
commit fa1ac9070c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2869,8 +2869,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])``