Skip to content

Commit 534e33f

Browse files
committed
Remove statx-specific members from os.stat_result documentation
These members were removed from os.stat_result in a previous commit.
1 parent 7440397 commit 534e33f

File tree

1 file changed

+5
-31
lines changed

1 file changed

+5
-31
lines changed

Doc/library/os.rst

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3235,6 +3235,9 @@ features:
32353235
:exc:`AttributeError`.
32363236

32373237
.. versionadded:: 3.12
3238+
.. versionchanged:: next
3239+
``st_birthtime`` is now available on Linux kernel 4.11 and later when
3240+
supported by the filesystem.
32383241

32393242
.. note::
32403243

@@ -3276,34 +3279,6 @@ features:
32763279

32773280
User defined flags for file.
32783281

3279-
.. attribute:: st_attributes
3280-
3281-
Linux file attributes.
3282-
See the :const:`!STATX_ATTR* <stat.STATX_ATTR_COMPRESSED>`
3283-
constants in the :mod:`stat` module.
3284-
3285-
.. versionadded:: next
3286-
3287-
.. attribute:: st_attributes_mask
3288-
3289-
Linux file attributes supported by the filesystem containing the file.
3290-
3291-
.. versionadded:: next
3292-
3293-
.. attribute:: st_mnt_id
3294-
3295-
Mount ID of the mount containing the file, corresponding to the first
3296-
field in ``/proc/self/mountinfo``.
3297-
3298-
.. versionadded:: next
3299-
3300-
.. attribute:: st_subvol
3301-
3302-
ID for the subvolume containing the file, or None if the filesystem does
3303-
not support subvolumes.
3304-
3305-
.. versionadded:: next
3306-
33073282
On other Unix systems (such as FreeBSD), the following attributes may be
33083283
available (but may be only filled out if root tries to use them):
33093284

@@ -3396,9 +3371,8 @@ features:
33963371
Added the :attr:`st_birthtime` member on Windows.
33973372

33983373
.. versionchanged:: next
3399-
Added the :attr:`st_birthtime`, :attr:`st_attributes`,
3400-
:attr:`st_attributes_mask`, :attr:`st_mnt_id`, and :attr:`st_subvol`
3401-
members on Linux.
3374+
Added the :attr:`st_birthtime` and :attr:`st_birthtime_ns` members on
3375+
Linux.
34023376

34033377

34043378
.. function:: statvfs(path)

0 commit comments

Comments
 (0)