Skip to content

Commit e014076

Browse files
[3.14] Doc: remove the invalid type variables of typing.TextIO and BinaryIO (GH-142642) (#142643)
They are not generic classes. (cherry picked from commit fa1ac90) Co-authored-by: Roman Donchenko <rdonchen@outlook.com>
1 parent ebeb07f commit e014076

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
@@ -2875,8 +2875,8 @@ ABCs and Protocols for working with I/O
28752875
---------------------------------------
28762876

28772877
.. class:: IO[AnyStr]
2878-
TextIO[AnyStr]
2879-
BinaryIO[AnyStr]
2878+
TextIO
2879+
BinaryIO
28802880

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

0 commit comments

Comments
 (0)