diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2022-05-08 15:22:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 15:22:32 (GMT) |
commit | bdc99a830f27451754d80ec414d7799b0f4bfed6 (patch) | |
tree | 36c35742c090151a2ee442a5003dade72f4dbb69 /Doc | |
parent | b7380948f2eeb46aca9ef54889d61df9c4ad0203 (diff) | |
download | cpython-bdc99a830f27451754d80ec414d7799b0f4bfed6.zip cpython-bdc99a830f27451754d80ec414d7799b0f4bfed6.tar.gz cpython-bdc99a830f27451754d80ec414d7799b0f4bfed6.tar.bz2 |
`typing.Text`: tweak deprecation notice (#92405)
https://github.com/python/cpython/pull/92351/files#r866869469
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/typing.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 1d125fb..29bceda 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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 |