gh-92332: Docs-only deprecation of typing.Text#92351
Conversation
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
I'm going to merge this first in case we inadvertently miss the beta freeze cutoff. We can just fix up anything else in the docs if Jelle spots problems later. |
Thanks @Fidget-Spinner 😊 |
| .. 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 | ||
| :class:`str` instead of ``Text`` wherever possible. |
There was a problem hiding this comment.
Could we add an explicit note here saying that removal is not currently planned? A "deprecated" note can make users think it will be removed soon.
There was a problem hiding this comment.
(For future readers of this PR):
Closes #92332