zipfile.ZipFile: Add start_dir attribute. (#3203)

This commit is contained in:
Benjamin Peterson
2019-08-22 23:46:16 -07:00
committed by Sebastian Rittau
parent 04bcb89aea
commit ce0f5b226f

View File

@@ -50,6 +50,7 @@ class ZipFile:
filelist: List[ZipInfo]
fp: IO[bytes]
NameToInfo: Dict[Text, ZipInfo]
start_dir: int # undocumented
def __init__(self, file: Union[_Path, IO[bytes]], mode: Text = ..., compression: int = ...,
allowZip64: bool = ...) -> None: ...
def __enter__(self) -> ZipFile: ...