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 @@ -128,7 +128,7 @@ Or, using the new generic class syntax::
128128 class LoggedVar[T]:
129129 # methods as in previous example
130130
131- This implicitly adds ``Generic[T] `` as a base class and type checkers
131+ This implicitly adds ``Generic[T] `` as a base class, and type checkers
132132should treat the two definitions of ``LoggedVar `` largely equivalently (except
133133for variance, see below).
134134
@@ -450,7 +450,7 @@ Also consider the following example::
450450 class MyDict(Mapping[str, T]):
451451 ...
452452
453- In this case ``MyDict `` has a single parameter, ``T ``.
453+ In this case ``MyDict `` has a single type parameter, ``T ``.
454454
455455Type variables are applied to the defined class in the order in which
456456they first appear in any generic base classes::
You can’t perform that action at this time.
0 commit comments