diff options
author | Stanley <46876382+slateny@users.noreply.github.com> | 2024-01-29 09:19:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 09:19:22 (GMT) |
commit | d7d0d13cd37651990586d31d8974c59bd25e1045 (patch) | |
tree | ed0ab63e4240a7b783b4f3b97ccc63b67f2df8d5 /Doc/library/tarfile.rst | |
parent | a16a9f978f42b8a09297c1efbf33877f6388c403 (diff) | |
download | cpython-d7d0d13cd37651990586d31d8974c59bd25e1045.zip cpython-d7d0d13cd37651990586d31d8974c59bd25e1045.tar.gz cpython-d7d0d13cd37651990586d31d8974c59bd25e1045.tar.bz2 |
gh-89159: Add some TarFile attribute types (GH-114520)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Diffstat (limited to 'Doc/library/tarfile.rst')
-rw-r--r-- | Doc/library/tarfile.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 34a738a..2134293a 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -673,6 +673,7 @@ be finalized; only the internally used file object will be closed. See the .. attribute:: TarFile.pax_headers + :type: dict A dictionary containing key-value pairs of pax global headers. @@ -838,26 +839,31 @@ A ``TarInfo`` object has the following public data attributes: attribute. .. attribute:: TarInfo.chksum + :type: int Header checksum. .. attribute:: TarInfo.devmajor + :type: int Device major number. .. attribute:: TarInfo.devminor + :type: int Device minor number. .. attribute:: TarInfo.offset + :type: int The tar header starts here. .. attribute:: TarInfo.offset_data + :type: int The file's data starts here. |