mirror of
https://github.com/python/cpython
synced 2024-10-14 09:58:30 +00:00
[3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124)
This commit is contained in:
parent
376c734216
commit
c5d1fbd4ce
|
@ -2203,9 +2203,9 @@ types.
|
||||||
|
|
||||||
Point2D = TypedDict('Point2D', x=int, y=int, label=str)
|
Point2D = TypedDict('Point2D', x=int, y=int, label=str)
|
||||||
|
|
||||||
.. deprecated-removed:: 3.11 3.13
|
.. deprecated-removed:: 3.11 3.13
|
||||||
The keyword-argument syntax is deprecated in 3.11 and will be removed
|
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.
|
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
|
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.
|
:ref:`identifiers <identifiers>`, for example because they are keywords or contain hyphens.
|
||||||
|
|
Loading…
Reference in a new issue