We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a8383 commit 62ccba9Copy full SHA for 62ccba9
docs/source/generics.rst
@@ -146,7 +146,7 @@ example (Python 3.12 syntax):
146
from typing import Mapping, Iterator
147
148
# This is a generic subclass of Mapping
149
- class MyMapp[KT, VT](Mapping[KT, VT]):
+ class MyMap[KT, VT](Mapping[KT, VT]):
150
def __getitem__(self, k: KT) -> VT: ...
151
def __iter__(self) -> Iterator[KT]: ...
152
def __len__(self) -> int: ...
0 commit comments