mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Stdlib: add container default values (#9909)
This commit is contained in:
@@ -30,10 +30,10 @@ class scheduler:
|
||||
|
||||
def __init__(self, timefunc: Callable[[], float] = ..., delayfunc: Callable[[float], object] = ...) -> None: ...
|
||||
def enterabs(
|
||||
self, time: float, priority: Any, action: _ActionCallback, argument: tuple[Any, ...] = ..., kwargs: dict[str, Any] = ...
|
||||
self, time: float, priority: Any, action: _ActionCallback, argument: tuple[Any, ...] = (), kwargs: dict[str, Any] = ...
|
||||
) -> Event: ...
|
||||
def enter(
|
||||
self, delay: float, priority: Any, action: _ActionCallback, argument: tuple[Any, ...] = ..., kwargs: dict[str, Any] = ...
|
||||
self, delay: float, priority: Any, action: _ActionCallback, argument: tuple[Any, ...] = (), kwargs: dict[str, Any] = ...
|
||||
) -> Event: ...
|
||||
def run(self, blocking: bool = True) -> float | None: ...
|
||||
def cancel(self, event: Event) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user