diff --git a/stdlib/concurrent/futures/process.pyi b/stdlib/concurrent/futures/process.pyi index 4dfe17afdc7f..da9a70849623 100644 --- a/stdlib/concurrent/futures/process.pyi +++ b/stdlib/concurrent/futures/process.pyi @@ -168,7 +168,7 @@ class BrokenProcessPool(BrokenExecutor): ... class ProcessPoolExecutor(Executor): _mp_context: BaseContext | None - _initializer: Callable[..., None] | None + _initializer: Callable[..., object] | None _initargs: tuple[Any, ...] _executor_manager_thread: _ThreadWakeup _processes: MutableMapping[int, Process] diff --git a/stdlib/concurrent/futures/thread.pyi b/stdlib/concurrent/futures/thread.pyi index 685bf1cfc104..457d952da683 100644 --- a/stdlib/concurrent/futures/thread.pyi +++ b/stdlib/concurrent/futures/thread.pyi @@ -97,7 +97,7 @@ class ThreadPoolExecutor(Executor): _create_worker_context: Callable[[], WorkerContext] _resolve_work_item_task: _ResolveTaskFunc else: - _initializer: Callable[..., None] | None + _initializer: Callable[..., object] | None _initargs: tuple[Any, ...] _work_queue: queue.SimpleQueue[_WorkItem[Any]]