mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
stdlib mapping classes: Use better names for various pos-only parameters (#8637)
This commit is contained in:
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user