mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use existing type alias in timeit (#7039)
This commit is contained in:
@@ -25,7 +25,4 @@ def repeat(
|
||||
number: int = ...,
|
||||
globals: dict[str, Any] | None = ...,
|
||||
) -> list[float]: ...
|
||||
|
||||
_timerFunc = Callable[[], float]
|
||||
|
||||
def main(args: Sequence[str] | None = ..., *, _wrap_timer: Callable[[_timerFunc], _timerFunc] | None = ...) -> None: ...
|
||||
def main(args: Sequence[str] | None = ..., *, _wrap_timer: Callable[[_Timer], _Timer] | None = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user