From 54f85c5b27e5b710da5b40f2a9dfa58e4b7b611d Mon Sep 17 00:00:00 2001 From: Ashwin Ramaswami Date: Sun, 11 Apr 2021 23:21:01 -0400 Subject: [PATCH] Add TarFile.offset (#5210) Add TarFile.offset, which is an undocumented property. Fixes https://github.com/python/typeshed/issues/5209 --- stdlib/tarfile.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/tarfile.pyi b/stdlib/tarfile.pyi index b1e72a752..1faba6e94 100644 --- a/stdlib/tarfile.pyi +++ b/stdlib/tarfile.pyi @@ -91,6 +91,7 @@ class TarFile(Iterable[TarInfo]): pax_headers: Optional[Mapping[str, str]] debug: Optional[int] errorlevel: Optional[int] + offset: int # undocumented if sys.version_info < (3,): posix: bool def __init__(