mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Accept bytes in shutil.copystat (#6836)
This commit is contained in:
@@ -18,7 +18,7 @@ class RegistryError(Exception): ...
|
||||
def copyfileobj(fsrc: SupportsRead[AnyStr], fdst: SupportsWrite[AnyStr], length: int = ...) -> None: ...
|
||||
def copyfile(src: StrOrBytesPath, dst: _PathT, *, follow_symlinks: bool = ...) -> _PathT: ...
|
||||
def copymode(src: StrPath, dst: StrPath, *, follow_symlinks: bool = ...) -> None: ...
|
||||
def copystat(src: StrPath, dst: StrPath, *, follow_symlinks: bool = ...) -> None: ...
|
||||
def copystat(src: StrOrBytesPath, dst: StrOrBytesPath, *, follow_symlinks: bool = ...) -> None: ...
|
||||
def copy(src: StrPath, dst: StrPath, *, follow_symlinks: bool = ...) -> _PathReturn: ...
|
||||
def copy2(src: StrPath, dst: StrPath, *, follow_symlinks: bool = ...) -> _PathReturn: ...
|
||||
def ignore_patterns(*patterns: StrPath) -> Callable[[Any, list[str]], set[str]]: ...
|
||||
|
||||
Reference in New Issue
Block a user