mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add __int__ to uuid.UUID (#1783)
This commit is contained in:
committed by
Jelle Zijlstra
parent
46125886c0
commit
a1e85be4c9
@@ -47,6 +47,8 @@ class UUID:
|
||||
@property
|
||||
def version(self) -> Optional[_Int]: ...
|
||||
|
||||
def __int__(self) -> _Int: ...
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
def __eq__(self, other: Any) -> bool: ...
|
||||
def __lt__(self, other: Any) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user