various errors: fix base class (#3702)

This commit is contained in:
Shantanu
2020-02-01 09:15:23 -08:00
committed by GitHub
parent 123d2cb093
commit 4d698711ea
3 changed files with 3 additions and 3 deletions

View File

@@ -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] = ...,