mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Bump shutil to 3.14 (#14134)
This commit is contained in:
@@ -51,7 +51,6 @@ multiprocessing.managers._BaseDictProxy.__ror__
|
||||
multiprocessing.managers._BaseDictProxy.fromkeys
|
||||
multiprocessing.process.BaseProcess.interrupt
|
||||
multiprocessing.synchronize.SemLock.locked
|
||||
shutil.__all__
|
||||
string.Template.flags
|
||||
tarfile.TarFile.zstopen
|
||||
tkinter.Event.__class_getitem__
|
||||
|
||||
+9
-2
@@ -18,7 +18,6 @@ __all__ = [
|
||||
"rmtree",
|
||||
"Error",
|
||||
"SpecialFileError",
|
||||
"ExecError",
|
||||
"make_archive",
|
||||
"get_archive_formats",
|
||||
"register_archive_format",
|
||||
@@ -34,6 +33,8 @@ __all__ = [
|
||||
"SameFileError",
|
||||
"disk_usage",
|
||||
]
|
||||
if sys.version_info < (3, 14):
|
||||
__all__ += ["ExecError"]
|
||||
|
||||
_StrOrBytesPathT = TypeVar("_StrOrBytesPathT", bound=StrOrBytesPath)
|
||||
_StrPathT = TypeVar("_StrPathT", bound=StrPath)
|
||||
@@ -42,7 +43,13 @@ _BytesPathT = TypeVar("_BytesPathT", bound=BytesPath)
|
||||
class Error(OSError): ...
|
||||
class SameFileError(Error): ...
|
||||
class SpecialFileError(OSError): ...
|
||||
class ExecError(OSError): ...
|
||||
|
||||
if sys.version_info >= (3, 14):
|
||||
ExecError = RuntimeError # Deprecated in Python 3.14; removal scheduled for Python 3.16
|
||||
|
||||
else:
|
||||
class ExecError(OSError): ...
|
||||
|
||||
class ReadError(OSError): ...
|
||||
class RegistryError(Exception): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user