Skip to content

Commit

Permalink
Per review
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo authored Dec 1, 2024
1 parent 6bb9cfa commit 1c1fcf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/spec/class-compat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ 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
errors at runtime.
item or a :ref:`NamedTuple <namedtuple>` field. Such usage also generates
an error at runtime.

.. _`override`:

Expand Down
4 changes: 2 additions & 2 deletions docs/spec/qualifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ 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
errors at runtime.
item or a :ref:`NamedTuple <namedtuple>` field. Such usage also generates
an error at runtime.

.. _`annotated`:

Expand Down

0 comments on commit 1c1fcf6

Please sign in to comment.