mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 05:04:44 +08:00
tarfile: fix preset type for tarfile.open (#12193)
This commit is contained in:
1 parent
23c489642d
commit
de22c30fa8
1 file changed
+1
-1
+1
-1
@@ -141,7 +141,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 = ...,
|
||||
preset: int | None = ...,
|
||||
) -> TarFile: ...
|
||||
|
||||
class ExFileObject(io.BufferedReader):
|
||||
|
||||
Reference in new issue
Block a user