mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
zipfile.ZipFile: Add start_dir attribute. (#3203)
This commit is contained in:
committed by
Sebastian Rittau
parent
04bcb89aea
commit
ce0f5b226f
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user