Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dd8a61f

Browse filesBrowse files
[3.13] 3.13 What's New: Add PEP 702 (GH-118922) (#119062)
I honestly forgot this slipped into 3.13, but I think it's worth highlighting more, as it is a PEP-sized change that makes the type system significantly more powerful. @Yhg1s I think it's also worth mentioning in your release announcements. (cherry picked from commit ee13797) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 8439d09 commit dd8a61f
Copy full SHA for dd8a61f

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎Doc/whatsnew/3.13.rst

Copy file name to clipboardExpand all lines: Doc/whatsnew/3.13.rst
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ New typing features:
104104
* :pep:`696`: Type parameters (:data:`typing.TypeVar`, :data:`typing.ParamSpec`,
105105
and :data:`typing.TypeVarTuple`) now support defaults.
106106

107+
* :pep:`702`: Support for marking deprecations in the type system using the
108+
new :func:`warnings.deprecated` decorator.
109+
107110
* :pep:`742`: :data:`typing.TypeIs` was added, providing more intuitive
108111
type narrowing behavior.
109112

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.