mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #29092: Merge 3.6.
This commit is contained in:
commit
1dfaa6c38a
3 changed files with 7 additions and 5 deletions
|
|
@ -2386,7 +2386,8 @@ class sched_param_converter(CConverter):
|
|||
os.stat
|
||||
|
||||
path : path_t(allow_fd=True)
|
||||
Path to be examined; can be string, bytes, or open-file-descriptor int.
|
||||
Path to be examined; can be string, bytes, path-like object or
|
||||
open-file-descriptor int.
|
||||
|
||||
*
|
||||
|
||||
|
|
@ -2413,7 +2414,7 @@ It's an error to use dir_fd or follow_symlinks when specifying path as
|
|||
|
||||
static PyObject *
|
||||
os_stat_impl(PyObject *module, path_t *path, int dir_fd, int follow_symlinks)
|
||||
/*[clinic end generated code: output=7d4976e6f18a59c5 input=099d356c306fa24a]*/
|
||||
/*[clinic end generated code: output=7d4976e6f18a59c5 input=270bd64e7bb3c8f7]*/
|
||||
{
|
||||
return posix_do_stat("stat", path, dir_fd, follow_symlinks);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue