Skip to content

Commit 1c1fcf6

Browse files
Per review
1 parent 6bb9cfa commit 1c1fcf6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/spec/class-compat.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ annotated in ``__init__`` or other methods, rather than in the class::
9090
self.content: T = content
9191

9292
``ClassVar`` cannot be used as a qualifier for a :ref:`TypedDict <typeddict>`
93-
item or a :ref:`NamedTuple <namedtuple>` field. Such usages are also hard
94-
errors at runtime.
93+
item or a :ref:`NamedTuple <namedtuple>` field. Such usage also generates
94+
an error at runtime.
9595

9696
.. _`override`:
9797

docs/spec/qualifiers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ following should be allowed::
204204
N = NamedTuple("N", [(X, int), (Y, int)])
205205

206206
``Final`` cannot be used as a qualifier for a :ref:`TypedDict <typeddict>`
207-
item or a :ref:`NamedTuple <namedtuple>` field. Such usages are also hard
208-
errors at runtime.
207+
item or a :ref:`NamedTuple <namedtuple>` field. Such usage also generates
208+
an error at runtime.
209209

210210
.. _`annotated`:
211211

0 commit comments

Comments
 (0)