mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue