Skip to content

Commit

Permalink
[3.11] gh-89159: Document missing TarInfo members (GH-91564) (#114007)
Browse files Browse the repository at this point in the history
gh-89159: Document missing TarInfo members (GH-91564)
(cherry picked from commit 3aa4b83)

Co-authored-by: Stanley <[email protected]>
  • Loading branch information
miss-islington and slateny authored Jan 12, 2024
1 parent cd8fd22 commit d7a544a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Doc/library/tarfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d7a544a

Please sign in to comment.