diff --git a/stdlib/3/multiprocessing/__init__.pyi b/stdlib/3/multiprocessing/__init__.pyi index 3356bb50a..e5fad0a5a 100644 --- a/stdlib/3/multiprocessing/__init__.pyi +++ b/stdlib/3/multiprocessing/__init__.pyi @@ -68,7 +68,8 @@ class Process(): class Value(): value: Any = ... - def __init__(self, typecode_or_type: str, *args: Any, lock: bool = ...) -> None: ... + def __init__(self, typecode_or_type: str, *args: Any, lock: Union[bool, _LockLike] = ...) -> None: ... + def get_lock(self) -> _LockLike: ... # ----- multiprocessing function stubs ----- def active_children() -> List[Process]: ...