Format: application/octet-stream
1 from typing import Any, Callable, Dict, NoReturn, Optional, Tuple
2
3 class error(Exception):
4 def __init__(self, *args: Any) -> None: ...
5
6 def start_new_thread(function: Callable[..., Any], args: Tuple[Any, ...], kwargs: Dict[str, Any] = ...) -> None: ...
7 def exit() -> NoReturn: ...
8 def get_ident() -> int: ...
9 def allocate_lock() -> LockType: ...
10 def stack_size(size: Optional[int] = ...) -> int: ...
11
12 class LockType(object):
13 locked_status: bool
14 def __init__(self) -> None: ...
15 def acquire(self, waitflag: Optional[bool] = ...) -> bool: ...
16 def __enter__(self, waitflag: Optional[bool] = ...) -> bool: ...
17 def __exit__(self, typ: Any, val: Any, tb: Any) -> None: ...
18 def release(self) -> bool: ...
19 def locked(self) -> bool: ...
20
21 def interrupt_main() -> None: ...
22