@@ -13,7 +13,7 @@ error = RuntimeError
1313def _count () -> int : ...
1414@final
1515class LockType :
16- def acquire (self , blocking : bool = ... , timeout : float = ... ) -> bool : ...
16+ def acquire (self , blocking : bool = True , timeout : float = - 1 ) -> bool : ...
1717 def release (self ) -> None : ...
1818 def locked (self ) -> bool : ...
1919 def __enter__ (self ) -> bool : ...
@@ -22,14 +22,14 @@ class LockType:
2222 ) -> None : ...
2323
2424@overload
25- def start_new_thread (function : Callable [[Unpack [_Ts ]], object ], args : tuple [Unpack [_Ts ]]) -> int : ...
25+ def start_new_thread (function : Callable [[Unpack [_Ts ]], object ], args : tuple [Unpack [_Ts ]], / ) -> int : ...
2626@overload
27- def start_new_thread (function : Callable [..., object ], args : tuple [Any , ...], kwargs : dict [str , Any ]) -> int : ...
27+ def start_new_thread (function : Callable [..., object ], args : tuple [Any , ...], kwargs : dict [str , Any ], / ) -> int : ...
2828def interrupt_main () -> None : ...
2929def exit () -> NoReturn : ...
3030def allocate_lock () -> LockType : ...
3131def get_ident () -> int : ...
32- def stack_size (size : int = ... ) -> int : ...
32+ def stack_size (size : int = 0 , / ) -> int : ...
3333
3434TIMEOUT_MAX : float
3535
0 commit comments