summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2024-06-05 17:37:24 (GMT)
committerGitHub <noreply@github.com>2024-06-05 17:37:24 (GMT)
commitc5d1fbd4cef1f720b615d85b0814763ddbb7a0ee (patch)
tree2cb1001b07a3dade12d5c2610d27493142a12b87
parent376c734216f54bb0f6676f60d0c771e24efe0824 (diff)
downloadcpython-c5d1fbd4cef1f720b615d85b0814763ddbb7a0ee.zip
cpython-c5d1fbd4cef1f720b615d85b0814763ddbb7a0ee.tar.gz
cpython-c5d1fbd4cef1f720b615d85b0814763ddbb7a0ee.tar.bz2
[3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124)
-rw-r--r--Doc/library/typing.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 439e2bc..1a5c21d 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 <identifiers>`, for example because they are keywords or contain hyphens.