mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
stdlib: audit more callback annotations (#8209)
This commit is contained in:
@@ -75,7 +75,7 @@ class Thread:
|
||||
def __init__(
|
||||
self,
|
||||
group: None = ...,
|
||||
target: Callable[..., Any] | None = ...,
|
||||
target: Callable[..., object] | None = ...,
|
||||
name: str | None = ...,
|
||||
args: Iterable[Any] = ...,
|
||||
kwargs: Mapping[str, Any] | None = ...,
|
||||
@@ -171,7 +171,7 @@ class Timer(Thread):
|
||||
def __init__(
|
||||
self,
|
||||
interval: float,
|
||||
function: Callable[..., Any],
|
||||
function: Callable[..., object],
|
||||
args: Iterable[Any] | None = ...,
|
||||
kwargs: Mapping[str, Any] | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user