mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
various errors: fix base class (#3702)
This commit is contained in:
@@ -6,7 +6,7 @@ from typing import BinaryIO, Callable, Optional, Union
|
||||
|
||||
_Path = Union[str, Path, BinaryIO]
|
||||
|
||||
class ZipAppError(Exception): ...
|
||||
class ZipAppError(ValueError): ...
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
def create_archive(source: _Path, target: Optional[_Path] = ..., interpreter: Optional[str] = ..., main: Optional[str] = ...,
|
||||
|
||||
Reference in New Issue
Block a user