Skip to content

Commit 08af0a1

Browse files
committed
Make os.statx flags parameter keyword-only
1 parent 76206ec commit 08af0a1

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

Modules/clinic/posixmodule.c.h

Lines changed: 5 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/posixmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,11 +3532,11 @@ os.statx
35323532
mask: unsigned_int(bitwise=True)
35333533
A bitmask of STATX_* constants defining the requested information.
35343534
3535+
*
3536+
35353537
flags: int = 0
35363538
A bitmask of AT_NO_AUTOMOUNT and/or AT_STATX_* flags.
35373539
3538-
*
3539-
35403540
dir_fd : dir_fd = None
35413541
If not None, it should be a file descriptor open to a directory,
35423542
and path should be a relative string; path will then be relative to
@@ -3557,7 +3557,7 @@ It's an error to use dir_fd or follow_symlinks when specifying path as
35573557
static PyObject *
35583558
os_statx_impl(PyObject *module, path_t *path, unsigned int mask, int flags,
35593559
int dir_fd, int follow_symlinks)
3560-
/*[clinic end generated code: output=e3765979ac6fe15b input=7ebd6e0f93476670]*/
3560+
/*[clinic end generated code: output=e3765979ac6fe15b input=f0116380c5dc4f2f]*/
35613561
{
35623562
if (path_and_dir_fd_invalid("statx", path, dir_fd) ||
35633563
dir_fd_and_fd_invalid("statx", dir_fd, path->fd) ||

0 commit comments

Comments
 (0)