From c5d1fbd4cef1f720b615d85b0814763ddbb7a0ee Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 5 Jun 2024 18:37:24 +0100 Subject: [PATCH] [3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124) --- Doc/library/typing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 439e2bcd7dc..1a5c21d3c94 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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 `, for example because they are keywords or contain hyphens.