zipfile: fix typo in parameter for PyZipFile (#3573)

This commit is contained in:
hauntsaninja
2020-01-05 07:12:44 -08:00
committed by Sebastian Rittau
parent 4fb4c80af7
commit 64252bfef4

View File

@@ -106,7 +106,7 @@ class ZipFile:
class PyZipFile(ZipFile):
if sys.version_info >= (3,):
def __init__(
self, file: Union[str, IO[bytes]], mode: str = ..., compression: int = ..., allowZip64: bool = ..., opimize: int = ...
self, file: Union[str, IO[bytes]], mode: str = ..., compression: int = ..., allowZip64: bool = ..., optimize: int = ...
) -> None: ...
def writepy(self, pathname: str, basename: str = ..., filterfunc: Optional[Callable[[str], bool]] = ...) -> None: ...
else: