Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo committed Dec 1, 2024
1 parent e9d2aee commit 6bb9cfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/spec/class-compat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <typeddict>`
item or a :ref:`NamedTuple <namedtuple>`field. Such usages are also hard
item or a :ref:`NamedTuple <namedtuple>` field. Such usages are also hard
errors at runtime.

.. _`override`:
Expand Down
2 changes: 1 addition & 1 deletion docs/spec/qualifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <typeddict>`
item or a :ref:`NamedTuple <namedtuple>`field. Such usages are also hard
item or a :ref:`NamedTuple <namedtuple>` field. Such usages are also hard
errors at runtime.

.. _`annotated`:
Expand Down

0 comments on commit 6bb9cfa

Please sign in to comment.