summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2017-12-14 22:46:46 (GMT)
committerFred Drake <fred@fdrake.net>2017-12-14 22:46:46 (GMT)
commit96a5e50a5de3683b2afd6d680c7ecc4b525986f6 (patch)
treef4adb6717deabda9d44a447ce2aa6edc5ea3bb6b /Doc/library/os.rst
parent2b5fd1e9ca9318673989e6ccac2c8acadc3809cd (diff)
downloadcpython-96a5e50a5de3683b2afd6d680c7ecc4b525986f6.zip
cpython-96a5e50a5de3683b2afd6d680c7ecc4b525986f6.tar.gz
cpython-96a5e50a5de3683b2afd6d680c7ecc4b525986f6.tar.bz2
bpo-32143: add f_fsid to os.statvfs() (#4571)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 95c8113..a24934c 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2436,7 +2436,7 @@ features:
correspond to the members of the :c:type:`statvfs` structure, namely:
:attr:`f_bsize`, :attr:`f_frsize`, :attr:`f_blocks`, :attr:`f_bfree`,
:attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`,
- :attr:`f_flag`, :attr:`f_namemax`.
+ :attr:`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`.
Two module-level constants are defined for the :attr:`f_flag` attribute's
bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted
@@ -2471,6 +2471,9 @@ features:
.. versionchanged:: 3.6
Accepts a :term:`path-like object`.
+ .. versionadded:: 3.7
+ Added :attr:`f_fsid`.
+
.. data:: supports_dir_fd