tarfile: fix arg name (#4326)

And update whitelist since #4322 fixed a thing

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-07-12 11:27:43 -07:00
committed by GitHub
parent 9ad8ed3b75
commit 5ecdc08bb1
3 changed files with 2 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ class TarFile(Iterable[TarInfo]):
pax_headers: Optional[Mapping[str, str]] = ...,
debug: Optional[int] = ...,
errorlevel: Optional[int] = ...,
compresslevel: Optional[int] = ...,
copybufsize: Optional[int] = ..., # undocumented
) -> None: ...
def __enter__(self) -> TarFile: ...
def __exit__(