mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
Doc: remove the invalid type variables of typing.TextIO and BinaryIO (#142642)
They are not generic classes.
This commit is contained in:
parent
1eddef8193
commit
fa1ac9070c
@ -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])``
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user