Skip to content

Commit 59198a1

Browse files
committed
English
1 parent 5b20247 commit 59198a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spec/generics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
132132
should treat the two definitions of ``LoggedVar`` largely equivalently (except
133133
for 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

455455
Type variables are applied to the defined class in the order in which
456456
they first appear in any generic base classes::

0 commit comments

Comments
 (0)