_thread: fix type of TIMEOUT_MAX (#3657)

This commit is contained in:
Shantanu
2020-01-25 20:00:55 -08:00
committed by Jelle Zijlstra
parent d5851eca6f
commit fd7855185e

View File

@@ -30,7 +30,7 @@ def allocate_lock() -> LockType: ...
def get_ident() -> int: ...
def stack_size(size: int = ...) -> int: ...
TIMEOUT_MAX: int
TIMEOUT_MAX: float
if sys.version_info >= (3, 8):
def get_native_id() -> int: ... # only available on some platforms