mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add multiprocessing.popen_spawn_win32 submodule (#8428)
This commit is contained in:
@@ -27,9 +27,11 @@ def dump(obj, file, protocol: Any | None = ...) -> None: ...
|
||||
|
||||
if sys.platform == "win32":
|
||||
if sys.version_info >= (3, 8):
|
||||
def duplicate(handle, target_process: Any | None = ..., inheritable: bool = ..., *, source_process: Any | None = ...): ...
|
||||
def duplicate(
|
||||
handle: int, target_process: int | None = ..., inheritable: bool = ..., *, source_process: int | None = ...
|
||||
) -> int: ...
|
||||
else:
|
||||
def duplicate(handle, target_process: Any | None = ..., inheritable: bool = ...): ...
|
||||
def duplicate(handle: int, target_process: int | None = ..., inheritable: bool = ...) -> int: ...
|
||||
|
||||
def steal_handle(source_pid, handle): ...
|
||||
def send_handle(conn, handle, destination_pid) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user