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:
@@ -50,8 +50,8 @@ class DummyProcess(threading.Thread):
|
||||
group: Any = None,
|
||||
target: Callable[..., object] | None = None,
|
||||
name: str | None = None,
|
||||
args: Iterable[Any] = ...,
|
||||
kwargs: Mapping[str, Any] = ...,
|
||||
args: Iterable[Any] = (),
|
||||
kwargs: Mapping[str, Any] = {},
|
||||
) -> None: ...
|
||||
|
||||
Process = DummyProcess
|
||||
@@ -69,9 +69,7 @@ class Value:
|
||||
|
||||
def Array(typecode: Any, sequence: Sequence[Any], lock: Any = True) -> array.array[Any]: ...
|
||||
def Manager() -> Any: ...
|
||||
def Pool(
|
||||
processes: int | None = None, initializer: Callable[..., object] | None = None, initargs: Iterable[Any] = ...
|
||||
) -> Any: ...
|
||||
def Pool(processes: int | None = None, initializer: Callable[..., object] | None = None, initargs: Iterable[Any] = ()) -> Any: ...
|
||||
def active_children() -> list[Any]: ...
|
||||
|
||||
current_process = threading.current_thread
|
||||
|
||||
Reference in New Issue
Block a user