Skip to content

Commit 243b67f

Browse files
Soluminmatthiaskramm
authored andcommitted
1 parent 194c4c6 commit 243b67f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stdlib/2and3/tarfile.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def open(name: Optional[str] = ..., mode: str = ...,
3838
encoding: Optional[str] = ..., errors: str = ...,
3939
pax_headers: Optional[Mapping[str, str]] = ...,
4040
debug: Optional[int] = ...,
41-
errorlevel: Optional[int] = ...) -> TarFile: ...
41+
errorlevel: Optional[int] = ...,
42+
compresslevel: Optional[int] = ...) -> TarFile: ...
4243

4344

4445
class TarFile(Iterable[TarInfo]):
@@ -64,7 +65,8 @@ class TarFile(Iterable[TarInfo]):
6465
encoding: Optional[str] = ..., errors: str = ...,
6566
pax_headers: Optional[Mapping[str, str]] = ...,
6667
debug: Optional[int] = ...,
67-
errorlevel: Optional[int] = ...) -> None: ...
68+
errorlevel: Optional[int] = ...,
69+
compresslevel: Optional[int] = ...) -> None: ...
6870
def __enter__(self) -> TarFile: ...
6971
def __exit__(self,
7072
exc_type: Optional[Type[BaseException]],

0 commit comments

Comments
 (0)