Add TarFile.offset (#5210)

Add TarFile.offset, which is an undocumented property. Fixes https://github.com/python/typeshed/issues/5209
This commit is contained in:
Ashwin Ramaswami
2021-04-11 23:21:01 -04:00
committed by GitHub
parent 60975a3df8
commit 54f85c5b27

View File

@@ -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__(