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

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-01-23 14:41:27 +01:00
1 parent d5b88c552c
commit 307aadc632
1 file changed
+1 -1
+1 -1
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]: ...