https://github.com/python/cpython/commit/fa1ac9070c7525cab69c043ca2259e6d86357fb3
commit: fa1ac9070c7525cab69c043ca2259e6d86357fb3
branch: main
author: Roman Donchenko <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2025-12-12T11:20:49-08:00
summary:
Doc: remove the invalid type variables of typing.TextIO and BinaryIO (#142642)
They are not generic classes.
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 58f3a8ecd7c2e0..4e9946fd4567cd 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -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])``
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]