From fd7855185ec8ed50d32b5c0b9dc8e633703fe78e Mon Sep 17 00:00:00 2001 From: Shantanu Date: Sat, 25 Jan 2020 20:00:55 -0800 Subject: [PATCH] _thread: fix type of TIMEOUT_MAX (#3657) --- stdlib/3/_thread.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/_thread.pyi b/stdlib/3/_thread.pyi index 051edefbb..56f343b5a 100644 --- a/stdlib/3/_thread.pyi +++ b/stdlib/3/_thread.pyi @@ -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