]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Wed, 5 Jun 2024 17:37:24 +0000 (18:37 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Jun 2024 17:37:24 +0000 (10:37 -0700)
Doc/library/typing.rst

index 439e2bcd7dc6b5a5a15d5bdb9c3bab6677cdbf50..1a5c21d3c943049ef2c262708cf196614cfe3f64 100644 (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.