diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-03-24 11:23:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 11:23:35 (GMT) |
commit | 6a1c49a7176f29435e71a326866d952b686bceb3 (patch) | |
tree | fd69f14a8c3316a3eed95e09f6ef9cfc5d2bcfe3 /Doc/library/gzip.rst | |
parent | d49409196e0c73c38e3f96cf860cbffda40607ec (diff) | |
download | cpython-6a1c49a7176f29435e71a326866d952b686bceb3.zip cpython-6a1c49a7176f29435e71a326866d952b686bceb3.tar.gz cpython-6a1c49a7176f29435e71a326866d952b686bceb3.tar.bz2 |
gh-101100: Test docs in nit-picky mode (#102513)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Doc/library/gzip.rst')
-rw-r--r-- | Doc/library/gzip.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst index 1a2582d..06cbd25 100644 --- a/Doc/library/gzip.rst +++ b/Doc/library/gzip.rst @@ -143,6 +143,12 @@ The module defines the following items: :func:`time.time` and the :attr:`~os.stat_result.st_mtime` attribute of the object returned by :func:`os.stat`. + .. attribute:: name + + The path to the gzip file on disk, as a :class:`str` or :class:`bytes`. + Equivalent to the output of :func:`os.fspath` on the original input path, + with no other normalization, resolution or expansion. + .. versionchanged:: 3.1 Support for the :keyword:`with` statement was added, along with the *mtime* constructor argument and :attr:`mtime` attribute. |