🌐 AI搜索 & 代理 主页
Skip to content

Commit fa1ac90

Browse files
authored
Doc: remove the invalid type variables of typing.TextIO and BinaryIO (#142642)
They are not generic classes.
1 parent 1eddef8 commit fa1ac90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/typing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2869,8 +2869,8 @@ ABCs and Protocols for working with I/O
28692869
---------------------------------------
28702870

28712871
.. class:: IO[AnyStr]
2872-
TextIO[AnyStr]
2873-
BinaryIO[AnyStr]
2872+
TextIO
2873+
BinaryIO
28742874

28752875
Generic class ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])``
28762876
and ``BinaryIO(IO[bytes])``

0 commit comments

Comments
 (0)