diff --git a/stdlib/_weakrefset.pyi b/stdlib/_weakrefset.pyi index e2c7fa0aa987..da09442e855b 100644 --- a/stdlib/_weakrefset.pyi +++ b/stdlib/_weakrefset.pyi @@ -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: ... diff --git a/stdlib/argparse.pyi b/stdlib/argparse.pyi index 70b89334dab4..1b86a4e10cbb 100644 --- a/stdlib/argparse.pyi +++ b/stdlib/argparse.pyi @@ -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 diff --git a/stdlib/asyncio/events.pyi b/stdlib/asyncio/events.pyi index 643726b9975a..d173f0eb0cdf 100644 --- a/stdlib/asyncio/events.pyi +++ b/stdlib/asyncio/events.pyi @@ -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