mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +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
@@ -63,6 +63,7 @@ class UUID:
|
||||
def __le__(self, other: UUID) -> bool: ...
|
||||
def __gt__(self, other: UUID) -> bool: ...
|
||||
def __ge__(self, other: UUID) -> bool: ...
|
||||
def __hash__(self) -> builtins.int: ...
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
def getnode() -> int: ...
|
||||
|
||||
Reference in new issue
Block a user