summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.11.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r--Doc/whatsnew/3.11.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 19ac867..f679100 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -1202,6 +1202,12 @@ Deprecated
For now, a deprecation warning is raised for such syntax.
(Contributed by Serhiy Storchaka in :gh:`91760`.)
+* :class:`typing.Text`, which exists solely to provide compatibility support
+ between Python 2 and Python 3 code, is now deprecated. Its removal is
+ currently unplanned, but users are encouraged to use :class:`str` instead
+ wherever possible.
+ (Contributed by Alex Waygood in :gh:`92332`.)
+
Removed
=======