mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use StrOrBytesPath in shutil.rmtree (#6835)
This commit is contained in:
@@ -44,7 +44,7 @@ else:
|
||||
ignore_dangling_symlinks: bool = ...,
|
||||
) -> _PathReturn: ...
|
||||
|
||||
def rmtree(path: bytes | StrPath, ignore_errors: bool = ..., onerror: Callable[[Any, Any, Any], Any] | None = ...) -> None: ...
|
||||
def rmtree(path: StrOrBytesPath, ignore_errors: bool = ..., onerror: Callable[[Any, Any, Any], Any] | None = ...) -> None: ...
|
||||
|
||||
_CopyFn = Union[Callable[[str, str], None], Callable[[StrPath, StrPath], None]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user