stdlib: audit more callback annotations (#8209)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-07-19 07:07:25 -07:00
1 parent 540a6b25bf
commit e2ce7c6344
21 files changed
+61 -64

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ class Command:
def run_command(self, command: str) -> None: ...
def get_sub_commands(self) -> list[str]: ...
def warn(self, msg: str) -> None: ...
def execute(self, func: Callable[..., Any], args: Iterable[Any], msg: str | None = ..., level: int = ...) -> None: ...
def execute(self, func: Callable[..., object], args: Iterable[Any], msg: str | None = ..., level: int = ...) -> None: ...
def mkpath(self, name: str, mode: int = ...) -> None: ...
def copy_file(
self,
@@ -60,7 +60,7 @@ class Command:
self,
infiles: str | list[str] | tuple[str, ...],
outfile: str,
func: Callable[..., Any],
func: Callable[..., object],
args: list[Any],
exec_msg: str | None = ...,
skip_msg: str | None = ...,