Skip to content

Commit e11dbc2

Browse files
Add missing __eq__ to Mapping (#10297)
Co-authored-by: Alex Waygood <[email protected]>
1 parent 0b98780 commit e11dbc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/typing.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ class Mapping(Collection[_KT], Generic[_KT, _VT_co]):
631631
def keys(self) -> KeysView[_KT]: ...
632632
def values(self) -> ValuesView[_VT_co]: ...
633633
def __contains__(self, __key: object) -> bool: ...
634+
def __eq__(self, __other: object) -> bool: ...
634635

635636
class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
636637
@abstractmethod

0 commit comments

Comments
 (0)