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

This commit is contained in:
hauntsaninja authored and Sebastian Rittau committed 2020-01-05 16:12:44 +01:00
1 parent 4fb4c80af7
commit 64252bfef4
1 file changed
+1 -1
+1 -1
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: