mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Stdlib: add container default values (#9909)
This commit is contained in:
@@ -174,7 +174,7 @@ class ProcessPoolExecutor(Executor):
|
||||
max_workers: int | None = None,
|
||||
mp_context: BaseContext | None = None,
|
||||
initializer: Callable[..., object] | None = None,
|
||||
initargs: tuple[Any, ...] = ...,
|
||||
initargs: tuple[Any, ...] = (),
|
||||
*,
|
||||
max_tasks_per_child: int | None = None,
|
||||
) -> None: ...
|
||||
@@ -184,7 +184,7 @@ class ProcessPoolExecutor(Executor):
|
||||
max_workers: int | None = None,
|
||||
mp_context: BaseContext | None = None,
|
||||
initializer: Callable[..., object] | None = None,
|
||||
initargs: tuple[Any, ...] = ...,
|
||||
initargs: tuple[Any, ...] = (),
|
||||
) -> None: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def _start_executor_manager_thread(self) -> None: ...
|
||||
|
||||
@@ -53,7 +53,7 @@ class ThreadPoolExecutor(Executor):
|
||||
max_workers: int | None = None,
|
||||
thread_name_prefix: str = "",
|
||||
initializer: Callable[..., object] | None = None,
|
||||
initargs: tuple[Any, ...] = ...,
|
||||
initargs: tuple[Any, ...] = (),
|
||||
) -> None: ...
|
||||
def _adjust_thread_count(self) -> None: ...
|
||||
def _initializer_failed(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user