Skip to content

Commit b6f5ffd

Browse files
jbosboomcmaloney
andcommitted
Apply suggestions from code review
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parent aedc98e commit b6f5ffd

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Doc/library/os.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3383,17 +3383,15 @@ features:
33833383
Added the :attr:`st_birthtime` member on Windows.
33843384

33853385

3386-
.. function:: statx(path, mask, flags=0, *, dir_fd=None, follow_symlinks=True)
3386+
.. function:: statx(path, mask, *, flags=0, dir_fd=None, follow_symlinks=True)
33873387

33883388
Get the status of a file or file descriptor by performing a :c:func:`!statx`
33893389
system call on the given path.
33903390

3391-
*path* may be specified as either a string or bytes -- directly or
3392-
indirectly through the :class:`PathLike` interface -- or as an open file
3393-
descriptor. *mask* is a combination of the module-level
3394-
:const:`STATX_* <STATX_TYPE>` constants specifying the information to
3395-
retrieve. *flags* is a combination of the module-level
3396-
:const:`AT_STATX_* <AT_STATX_FORCE_SYNC>` constants and/or
3391+
*path* is a :term:`path-like object` or an open file descriptor. *mask* is a
3392+
combination of the module-level :const:`STATX_* <STATX_TYPE>` constants
3393+
specifying the information to retrieve. *flags* is a combination of the
3394+
module-level :const:`AT_STATX_* <AT_STATX_FORCE_SYNC>` constants and/or
33973395
:const:`AT_NO_AUTOMOUNT`. Returns a :class:`statx_result` object whose
33983396
:attr:`~os.statx_result.stx_mask` attribute specifies the information
33993397
actually retrieved (which may differ from *mask*).

0 commit comments

Comments
 (0)