Skip to content

Commit bdc99a8

Browse files
typing.Text: tweak deprecation notice (#92405)
https://github.com/python/cpython/pull/92351/files#r866869469 Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent b738094 commit bdc99a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/typing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,8 @@ Other concrete types
19781978

19791979
.. deprecated:: 3.11
19801980
Python 2 is no longer supported, and most type checkers also no longer
1981-
support type checking Python 2 code. Users should now use
1981+
support type checking Python 2 code. Removal of the alias is not
1982+
currently planned, but users are encouraged to use
19821983
:class:`str` instead of ``Text`` wherever possible.
19831984

19841985
Abstract Base Classes

0 commit comments

Comments
 (0)