stdlib mapping classes: Use better names for various pos-only parameters (#8637)

This commit is contained in:
Nikita Sobolev
2022-08-29 01:29:00 +03:00
committed by GitHub
parent 1b6cda86d4
commit 6e985ef3de
5 changed files with 14 additions and 14 deletions

View File

@@ -304,7 +304,7 @@ class CodeType:
class MappingProxyType(Mapping[_KT, _VT_co], Generic[_KT, _VT_co]):
__hash__: ClassVar[None] # type: ignore[assignment]
def __init__(self, mapping: SupportsKeysAndGetItem[_KT, _VT_co]) -> None: ...
def __getitem__(self, __k: _KT) -> _VT_co: ...
def __getitem__(self, __key: _KT) -> _VT_co: ...
def __iter__(self) -> Iterator[_KT]: ...
def __len__(self) -> int: ...
def copy(self) -> dict[_KT, _VT_co]: ...