typing.Text: tweak deprecation notice (GH-92405)

https://github.com/python/cpython/pull/92351/filesGH-r866869469

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit bdc99a830f)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-05-08 08:36:54 -07:00 committed by GitHub
parent 29f592e6fe
commit 6d8fd3f608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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