From: Alex Waygood Date: Wed, 5 Jun 2024 17:37:24 +0000 (+0100) Subject: [3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124) X-Git-Tag: v3.12.4~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5d1fbd4cef1f720b615d85b0814763ddbb7a0ee;p=thirdparty%2FPython%2Fcpython.git [3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124) --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 439e2bcd7dc6..1a5c21d3c943 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.