Add missing __eq__ to Mapping (#10297)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Sam Bull
2023-06-10 13:56:08 +01:00
committed by GitHub
parent 0b98780c81
commit e11dbc20da

View File

@@ -631,6 +631,7 @@ class Mapping(Collection[_KT], Generic[_KT, _VT_co]):
def keys(self) -> KeysView[_KT]: ...
def values(self) -> ValuesView[_VT_co]: ...
def __contains__(self, __key: object) -> bool: ...
def __eq__(self, __other: object) -> bool: ...
class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
@abstractmethod