From e11dbc20dac1e2e82e5408f1317f06a61ca97ba0 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Sat, 10 Jun 2023 13:56:08 +0100 Subject: [PATCH] Add missing __eq__ to Mapping (#10297) Co-authored-by: Alex Waygood --- stdlib/typing.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index db042dc44..1f884b0da 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -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