mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-23 10:08:42 +08:00
Third-party stubs: audit more Callable[<parameters>, Any] annotations (#8233)
This commit is contained in:
@@ -16,14 +16,14 @@ def cd(where: str) -> AbstractContextManager[None]: ...
|
||||
def has_fileno(stream) -> bool: ...
|
||||
def isatty(stream) -> bool: ...
|
||||
def encode_output(string: str, encoding: str) -> str: ...
|
||||
def helpline(obj: Callable[..., Any]) -> str | None: ...
|
||||
def helpline(obj: Callable[..., object]) -> str | None: ...
|
||||
|
||||
class ExceptionHandlingThread(threading.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 = ...,
|
||||
|
||||
Reference in New Issue
Block a user