1 from typing import IO, Any, Callable, Sequence, Union
3 _Timer = Callable[[], float]
4 _Stmt = Union[str, Callable[[], Any]]
10 self, stmt: _Stmt = ..., setup: _Stmt = ..., timer: _Timer = ..., globals: dict[str, Any] | None = ...
12 def print_exc(self, file: IO[str] | None = ...) -> None: ...
13 def timeit(self, number: int = ...) -> float: ...
14 def repeat(self, repeat: int = ..., number: int = ...) -> list[float]: ...
15 def autorange(self, callback: Callable[[int, float], Any] | None = ...) -> tuple[int, float]: ...
18 stmt: _Stmt = ..., setup: _Stmt = ..., timer: _Timer = ..., number: int = ..., globals: dict[str, Any] | None = ...
26 globals: dict[str, Any] | None = ...,
29 _timerFunc = Callable[[], float]
31 def main(args: Sequence[str] | None = ..., *, _wrap_timer: Callable[[_timerFunc], _timerFunc] | None = ...) -> None: ...