Skip to content

Commit

Permalink
Revert __eq__ removal (#8487)
Browse files Browse the repository at this point in the history
Refs #8483
  • Loading branch information
sobolevn authored Aug 4, 2022
1 parent a376da8 commit a03e8b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions stdlib/_weakrefset.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down
1 change: 1 addition & 0 deletions stdlib/argparse.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ class Namespace(_AttributeHolder):
def __getattr__(self, name: str) -> Any: ...
def __setattr__(self, __name: str, __value: Any) -> None: ...
def __contains__(self, key: str) -> bool: ...
def __eq__(self, other: object) -> bool: ...

class FileType:
# undocumented
Expand Down
1 change: 1 addition & 0 deletions stdlib/asyncio/events.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class TimerHandle(Handle):
def __le__(self, other: TimerHandle) -> bool: ...
def __gt__(self, other: TimerHandle) -> bool: ...
def __ge__(self, other: TimerHandle) -> bool: ...
def __eq__(self, other: object) -> bool: ...

class AbstractServer:
@abstractmethod
Expand Down

0 comments on commit a03e8b4

Please sign in to comment.