File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ parameters to :meth:`__post_init__`. Also see the warning about how
535
535
Class variables
536
536
---------------
537
537
538
- One of two places where :func: `dataclass ` actually inspects the type
538
+ One of the few places where :func: `dataclass ` actually inspects the type
539
539
of a field is to determine if a field is a class variable as defined
540
540
in :pep: `526 `. It does this by checking if the type of the field is
541
541
``typing.ClassVar ``. If a field is a ``ClassVar ``, it is excluded
@@ -546,7 +546,7 @@ module-level :func:`fields` function.
546
546
Init-only variables
547
547
-------------------
548
548
549
- The other place where :func: `dataclass ` inspects a type annotation is to
549
+ Another place where :func: `dataclass ` inspects a type annotation is to
550
550
determine if a field is an init-only variable. It does this by seeing
551
551
if the type of a field is of type ``dataclasses.InitVar ``. If a field
552
552
is an ``InitVar ``, it is considered a pseudo-field called an init-only
You can’t perform that action at this time.
0 commit comments