Skip to content

Commit

Permalink
[3.12] typing docs: fix indentation of TypedDict deprecation notice (…
Browse files Browse the repository at this point in the history
…#120124)
  • Loading branch information
AlexWaygood authored Jun 5, 2024
1 parent 376c734 commit c5d1fbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2203,9 +2203,9 @@ types.

Point2D = TypedDict('Point2D', x=int, y=int, label=str)

.. deprecated-removed:: 3.11 3.13
The keyword-argument syntax is deprecated in 3.11 and will be removed
in 3.13. It may also be unsupported by static type checkers.
.. deprecated-removed:: 3.11 3.13
The keyword-argument syntax is deprecated in 3.11 and will be removed
in 3.13. It may also be unsupported by static type checkers.

The functional syntax should also be used when any of the keys are not valid
:ref:`identifiers <identifiers>`, for example because they are keywords or contain hyphens.
Expand Down

0 comments on commit c5d1fbd

Please sign in to comment.