mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
Stdlib: add many missing __hash__ and __eq__ methods (#10464)
This commit is contained in:
1 parent
a04822051f
commit
03b4bb9cce
22 files changed
+78
-2
No files matched your search
@@ -45,6 +45,7 @@ class WeakMethod(ref[_CallableT], Generic[_CallableT]):
|
||||
def __call__(self) -> _CallableT | None: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
def __ne__(self, other: object) -> bool: ...
|
||||
def __hash__(self) -> int: ...
|
||||
|
||||
class WeakValueDictionary(MutableMapping[_KT, _VT]):
|
||||
@overload
|
||||
|
||||
Reference in new issue
Block a user