diff --git a/stdlib/multiprocessing/process.pyi b/stdlib/multiprocessing/process.pyi index f4464c08c..1601decbb 100644 --- a/stdlib/multiprocessing/process.pyi +++ b/stdlib/multiprocessing/process.pyi @@ -1,5 +1,6 @@ import sys -from typing import Any, Callable, Mapping +from collections.abc import Callable, Iterable, Mapping +from typing import Any if sys.version_info >= (3, 8): __all__ = ["BaseProcess", "current_process", "active_children", "parent_process"] @@ -16,7 +17,7 @@ class BaseProcess: group: None = ..., target: Callable[..., Any] | None = ..., name: str | None = ..., - args: tuple[Any, ...] = ..., + args: Iterable[Any] = ..., kwargs: Mapping[str, Any] = ..., *, daemon: bool | None = ...,