From ce0f5b226fc00c732e5b6eb2a9fcb845cd18531c Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 22 Aug 2019 23:46:16 -0700 Subject: [PATCH] zipfile.ZipFile: Add start_dir attribute. (#3203) --- stdlib/2and3/zipfile.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/2and3/zipfile.pyi b/stdlib/2and3/zipfile.pyi index f5b8fab0e..8003cce68 100644 --- a/stdlib/2and3/zipfile.pyi +++ b/stdlib/2and3/zipfile.pyi @@ -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: ...