mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
This commit is contained in:
@@ -153,9 +153,9 @@ def _chain_from_iterable_of_lists(iterable: Iterable[MutableSequence[Any]]) -> A
|
||||
class BrokenProcessPool(BrokenExecutor): ...
|
||||
|
||||
class ProcessPoolExecutor(Executor):
|
||||
_mp_context: BaseContext | None = ...
|
||||
_initializer: Callable[..., None] | None = ...
|
||||
_initargs: tuple[Any, ...] = ...
|
||||
_mp_context: BaseContext | None
|
||||
_initializer: Callable[..., None] | None
|
||||
_initargs: tuple[Any, ...]
|
||||
_executor_manager_thread: _ThreadWakeup
|
||||
_processes: MutableMapping[int, Process]
|
||||
_shutdown_thread: bool
|
||||
|
||||
@@ -44,9 +44,9 @@ class ThreadPoolExecutor(Executor):
|
||||
_broken: bool
|
||||
_shutdown: bool
|
||||
_shutdown_lock: Lock
|
||||
_thread_name_prefix: str | None = ...
|
||||
_initializer: Callable[..., None] | None = ...
|
||||
_initargs: tuple[Any, ...] = ...
|
||||
_thread_name_prefix: str | None
|
||||
_initializer: Callable[..., None] | None
|
||||
_initargs: tuple[Any, ...]
|
||||
_work_queue: queue.SimpleQueue[_WorkItem[Any]]
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user