https://github.com/python/cpython/commit/e01407683e5942ea8cf6b8c0fb54229b9e94a90a commit: e01407683e5942ea8cf6b8c0fb54229b9e94a90a branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra <[email protected]> date: 2025-12-12T19:26:34Z summary:
[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 fa1ac9070c7525cab69c043ca2259e6d86357fb3) Co-authored-by: Roman Donchenko <[email protected]> files: M Doc/library/typing.rst diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 862f765b148c73..360a0af0ee4e5b 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2875,8 +2875,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]
