Add RemoteError and current_process to multiprocessing (#445)

This commit is contained in:
David Euresti authored and Matthias Kramm committed 2016-08-05 07:19:46 -07:00
1 parent 382cb5fe20
commit 141318c056
3 files changed
+6

No files matched your search

+2
View File
@@ -2,6 +2,8 @@
from typing import Any, Callable, Iterable, Mapping
from multiprocessing.process import current_process as current_process
class Lock():
def acquire(self, block: bool = ..., timeout: int = ...) -> None: ...
def release(self) -> None: ...
+2
View File
@@ -6,3 +6,5 @@ from typing import Any
class BaseManager():
def register(typeid: str, callable: Any = ...) -> None: ...
class RemoteError(Exception): ...
+2
View File
@@ -0,0 +1,2 @@
def current_process(): ...
def active_children(): ...