https://github.com/python/cpython/commit/d7a544ad3b575d93353c9c755e57e5435ab2730d commit: d7a544ad3b575d93353c9c755e57e5435ab2730d branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: AA-Turner <[email protected]> date: 2024-01-12T23:26:03Z summary:
[3.11] gh-89159: Document missing TarInfo members (GH-91564) (#114007) gh-89159: Document missing TarInfo members (GH-91564) (cherry picked from commit 3aa4b839e4aa01d4e8bc5c7685fd0eb17c4609b8) Co-authored-by: Stanley <[email protected]> files: M Doc/library/tarfile.rst diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index dadbc6ea87f843..cd2df3e69e3729 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -829,6 +829,36 @@ A ``TarInfo`` object has the following public data attributes: :meth:`~TarFile.extractall`, causing extraction to skip applying this attribute. +.. attribute:: TarInfo.chksum + + Header checksum. + + +.. attribute:: TarInfo.devmajor + + Device major number. + + +.. attribute:: TarInfo.devminor + + Device minor number. + + +.. attribute:: TarInfo.offset + + The tar header starts here. + + +.. attribute:: TarInfo.offset_data + + The file's data starts here. + + +.. attribute:: TarInfo.sparse + + Sparse member information. + + .. attribute:: TarInfo.pax_headers :type: dict _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
