[Python-checkins] `typing.Text`: tweak deprecation notice (GH-92405)
miss-islington
webhook-mailer at python.org
Sun May 8 11:36:58 EDT 2022
https://github.com/python/cpython/commit/6d8fd3f6085ee5bc4b0fb9e47f42aeeeef0fcae7
commit: 6d8fd3f6085ee5bc4b0fb9e47f42aeeeef0fcae7
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-05-08T08:36:54-07:00
summary:
`typing.Text`: tweak deprecation notice (GH-92405)
https://github.com/python/cpython/pull/92351/filesGH-r866869469
Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>
(cherry picked from commit bdc99a830f27451754d80ec414d7799b0f4bfed6)
Co-authored-by: Alex Waygood <Alex.Waygood at Gmail.com>
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 1d125fb1ebebb..29bcedaddce9d 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
More information about the Python-checkins
mailing list