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.
.. deprecated-removed
typing.TypedDict
1 parent 3f3fbc4 commit 4439de4Copy full SHA for 4439de4
Doc/library/typing.rst
@@ -2810,13 +2810,6 @@ types.
2810
.. versionchanged:: 3.13
2811
Support for the :data:`ReadOnly` qualifier was added.
2812
2813
- .. deprecated-removed:: 3.13 3.15
2814
- When using the functional syntax to create a TypedDict class, failing to
2815
- pass a value to the 'fields' parameter (``TD = TypedDict("TD")``) is
2816
- deprecated. Passing ``None`` to the 'fields' parameter
2817
- (``TD = TypedDict("TD", None)``) is also deprecated. Both will be
2818
- disallowed in Python 3.15. To create a TypedDict class with 0 fields,
2819
- use ``class TD(TypedDict): pass`` or ``TD = TypedDict("TD", {})``.
2820
2821
Protocols
2822
---------
0 commit comments