Third-party stubs: audit more Callable[<parameters>, Any] annotations (#8233)

This commit is contained in:
Alex Waygood
2022-07-04 09:29:47 +01:00
committed by GitHub
parent fb478f0b58
commit 8ef6602e25
12 changed files with 17 additions and 18 deletions

View File

@@ -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 = ...,