Add __int__ to uuid.UUID (#1783)

This commit is contained in:
Semyon Proshev
2017-12-13 19:20:47 +03:00
committed by Jelle Zijlstra
parent 46125886c0
commit a1e85be4c9

View File

@@ -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: ...