[3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124)

This commit is contained in:
Alex Waygood 2024-06-05 18:37:24 +01:00 committed by GitHub
parent 376c734216
commit c5d1fbd4ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.