Skip to content

Commit 4439de4

Browse files
committed
Remove .. deprecated-removed notes for typing.TypedDict
1 parent 3f3fbc4 commit 4439de4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Doc/library/typing.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2810,13 +2810,6 @@ types.
28102810
.. versionchanged:: 3.13
28112811
Support for the :data:`ReadOnly` qualifier was added.
28122812

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", {})``.
28202813

28212814
Protocols
28222815
---------

0 commit comments

Comments
 (0)