Improve the signature of types.MappingProxyType.__eq__ (#9581)

This commit is contained in:
Alex Waygood
2023-01-23 13:41:27 +00:00
committed by GitHub
parent d5b88c552c
commit 307aadc632

View File

@@ -310,7 +310,7 @@ class MappingProxyType(Mapping[_KT, _VT_co], Generic[_KT, _VT_co]):
def __getitem__(self, __key: _KT) -> _VT_co: ...
def __iter__(self) -> Iterator[_KT]: ...
def __len__(self) -> int: ...
def __eq__(self, other: object) -> bool: ...
def __eq__(self, __value: object) -> bool: ...
def copy(self) -> dict[_KT, _VT_co]: ...
def keys(self) -> KeysView[_KT]: ...
def values(self) -> ValuesView[_VT_co]: ...