From 6bb9cfa4a94397ef30d08b449a749d0b938e208d Mon Sep 17 00:00:00 2001 From: InSync Date: Sun, 1 Dec 2024 06:53:27 +0000 Subject: [PATCH] Typo --- docs/spec/class-compat.rst | 2 +- docs/spec/qualifiers.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spec/class-compat.rst b/docs/spec/class-compat.rst index e5414d38..c9387ba8 100644 --- a/docs/spec/class-compat.rst +++ b/docs/spec/class-compat.rst @@ -90,7 +90,7 @@ annotated in ``__init__`` or other methods, rather than in the class:: self.content: T = content ``ClassVar`` cannot be used as a qualifier for a :ref:`TypedDict ` -item or a :ref:`NamedTuple `field. Such usages are also hard +item or a :ref:`NamedTuple ` field. Such usages are also hard errors at runtime. .. _`override`: diff --git a/docs/spec/qualifiers.rst b/docs/spec/qualifiers.rst index a55062ab..5d475c44 100644 --- a/docs/spec/qualifiers.rst +++ b/docs/spec/qualifiers.rst @@ -204,7 +204,7 @@ following should be allowed:: N = NamedTuple("N", [(X, int), (Y, int)]) ``Final`` cannot be used as a qualifier for a :ref:`TypedDict ` -item or a :ref:`NamedTuple `field. Such usages are also hard +item or a :ref:`NamedTuple ` field. Such usages are also hard errors at runtime. .. _`annotated`: