mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 09:55:59 +08:00
committed by
Sebastian Rittau
parent
260369e6e7
commit
53500c8750
@@ -164,11 +164,11 @@ class Event:
|
||||
class Timer(Thread):
|
||||
if sys.version_info >= (3,):
|
||||
def __init__(self, interval: float, function: Callable[..., None],
|
||||
args: Optional[List[Any]] = ...,
|
||||
args: Optional[Iterable[Any]] = ...,
|
||||
kwargs: Optional[Mapping[str, Any]] = ...) -> None: ...
|
||||
else:
|
||||
def __init__(self, interval: float, function: Callable[..., None],
|
||||
args: List[Any] = ...,
|
||||
args: Iterable[Any] = ...,
|
||||
kwargs: Mapping[str, Any] = ...) -> None: ...
|
||||
def cancel(self) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user