Third-party stubs: audit more Callable[<parameters>, Any] annotations (#8233)

This commit is contained in:
Alex Waygood
2022-07-04 09:29:47 +01:00
committed by GitHub
parent fb478f0b58
commit 8ef6602e25
12 changed files with 17 additions and 18 deletions

View File

@@ -195,7 +195,7 @@ def process_iter(
attrs: list[str] | tuple[str, ...] | set[str] | frozenset[str] | None = ..., ad_value: Any | None = ...
) -> Iterator[Process]: ...
def wait_procs(
procs: Iterable[Process], timeout: float | None = ..., callback: Callable[[Process], Any] | None = ...
procs: Iterable[Process], timeout: float | None = ..., callback: Callable[[Process], object] | None = ...
) -> tuple[list[Process], list[Process]]: ...
def cpu_count(logical: bool = ...) -> int: ...
def cpu_times(percpu: bool = ...): ...