Implement Preset Argument in tarfile.open Function and Add Test Coverage (#11251)

This commit is contained in:
Karim Baidar
2024-01-15 16:39:31 +01:00
committed by GitHub
parent 64f7da9e45
commit cfb16543b8
2 changed files with 14 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ def open(
debug: int | None = ...,
errorlevel: int | None = ...,
compresslevel: int | None = ...,
preset: Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | None = ...,
) -> TarFile: ...
class ExFileObject(io.BufferedReader):