Stdlib: add container default values (#9909)

This commit is contained in:
Alex Waygood
2023-03-21 08:12:34 +00:00
committed by GitHub
parent 151159709d
commit dd2818a41d
66 changed files with 246 additions and 242 deletions

View File

@@ -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