Fix signature of multiprocessing.get_start_method (#3415)

This commit is contained in:
Anthony Sottile
2019-10-28 09:39:14 -07:00
committed by Sebastian Rittau
parent 87d7dd3d95
commit 9c724e9e60

View File

@@ -80,5 +80,5 @@ def Manager() -> SyncManager: ...
def set_forkserver_preload(module_names: List[str]) -> None: ...
def get_all_start_methods() -> List[str]: ...
def get_context(method: Optional[str] = ...) -> BaseContext: ...
def get_start_method(allow_none: Optional[bool]) -> Optional[str]: ...
def get_start_method(allow_none: bool = ...) -> Optional[str]: ...
def set_start_method(method: str, force: Optional[bool] = ...) -> None: ...