From e872935317e41d6654241aa12bb16efaaa5c82d3 Mon Sep 17 00:00:00 2001 From: Guo Ci Date: Thu, 15 Jan 2026 06:38:36 -0500 Subject: [PATCH] [tarfile] `TarFile.errorlevel` can't be `None` (#15214) --- stdlib/tarfile.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/tarfile.pyi b/stdlib/tarfile.pyi index ba2bd16db..5eecdd350 100644 --- a/stdlib/tarfile.pyi +++ b/stdlib/tarfile.pyi @@ -129,7 +129,7 @@ class TarFile: fileobject: type[ExFileObject] # undocumented pax_headers: Mapping[str, str] debug: int | None - errorlevel: int | None + errorlevel: int offset: int # undocumented extraction_filter: _FilterFunction | None if sys.version_info >= (3, 13):