Third-party stubs: audit Callable[<parameters>, None] annotations (#8175)

This commit is contained in:
Alex Waygood
2022-06-26 12:56:19 +01:00
committed by GitHub
parent 49cdaa41db
commit 74bd0d962b
10 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def path_advance(thepath: str, sep: str = ...) -> Iterator[str]: ...
def path_retreat(thepath: str, sep: str = ...) -> Iterator[str]: ...
def reparent(newparent: str, oldpath: str) -> str: ...
_PathCallback: TypeAlias = Callable[[str], None]
_PathCallback: TypeAlias = Callable[[str], object]
def walktree(
localpath: str, fcallback: _PathCallback, dcallback: _PathCallback, ucallback: _PathCallback, recurse: bool = ...