Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypedDict
1 parent 8731211 commit f91127aCopy full SHA for f91127a
1 file changed
Doc/deprecations/pending-removal-in-3.15.rst
@@ -85,6 +85,13 @@ Pending removal in Python 3.15
85
has been deprecated since Python 3.13.
86
Use the class-based syntax or the functional syntax instead.
87
88
+ * When using the functional syntax of :class:`~typing.TypedDict`\s, failing
89
+ to pass a value to the *fields* parameter (``TD = TypedDict("TD")``) or
90
+ passing ``None`` (``TD = TypedDict("TD", None)``) has been deprecated
91
+ since Python 3.13.
92
+ Use ``class TD(TypedDict): pass`` or ``TD = TypedDict("TD", {})``
93
+ to create a TypedDict with zero field.
94
+
95
* The :func:`typing.no_type_check_decorator` decorator function
96
97
After eight years in the :mod:`typing` module,
0 commit comments