]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
`typing.Text`: tweak deprecation notice (#92405)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Sun, 8 May 2022 15:22:32 +0000 (16:22 +0100)
committerGitHub <noreply@github.com>
Sun, 8 May 2022 15:22:32 +0000 (08:22 -0700)
https://github.com/python/cpython/pull/92351/files#r866869469

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/library/typing.rst

index 1d125fb1ebebb3b4964cefc9b3aee1a46d7edfc8..29bcedaddce9dd7280733154b7b30076b111ad82 100644 (file)
@@ -1978,7 +1978,8 @@ Other concrete types
 
    .. deprecated:: 3.11
       Python 2 is no longer supported, and most type checkers also no longer
-      support type checking Python 2 code. Users should now use
+      support type checking Python 2 code. Removal of the alias is not
+      currently planned, but users are encouraged to use
       :class:`str` instead of ``Text`` wherever possible.
 
 Abstract Base Classes