Revert __eq__ removal (#8487)

Refs #8483
This commit is contained in:
Nikita Sobolev
2022-08-05 00:51:42 +03:00
committed by GitHub
parent a376da87bd
commit a03e8b4949
3 changed files with 3 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ class WeakSet(MutableSet[_T], Generic[_T]):
def issuperset(self, other: Iterable[_T]) -> bool: ...
def __ge__(self, other: Iterable[_T]) -> bool: ...
def __gt__(self, other: Iterable[_T]) -> bool: ...
def __eq__(self, other: object) -> bool: ...
def symmetric_difference(self, other: Iterable[_S]) -> WeakSet[_S | _T]: ...
def __xor__(self, other: Iterable[_S]) -> WeakSet[_S | _T]: ...
def symmetric_difference_update(self, other: Iterable[_T]) -> None: ...