mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
merge 3.5
This commit is contained in:
commit
b1cb8b2872
3 changed files with 9 additions and 6 deletions
|
|
@ -2595,8 +2595,8 @@ os_lstat_impl(PyObject *module, path_t *path, int dir_fd)
|
|||
/*[clinic input]
|
||||
os.access -> bool
|
||||
|
||||
path: path_t(allow_fd=True)
|
||||
Path to be tested; can be string, bytes, or open-file-descriptor int.
|
||||
path: path_t
|
||||
Path to be tested; can be string or bytes
|
||||
|
||||
mode: int
|
||||
Operating-system mode bitfield. Can be F_OK to test existence,
|
||||
|
|
@ -2634,7 +2634,7 @@ Note that most operations will use the effective uid/gid, therefore this
|
|||
static int
|
||||
os_access_impl(PyObject *module, path_t *path, int mode, int dir_fd,
|
||||
int effective_ids, int follow_symlinks)
|
||||
/*[clinic end generated code: output=cf84158bc90b1a77 input=b75a756797af45ec]*/
|
||||
/*[clinic end generated code: output=cf84158bc90b1a77 input=8e8c3a6ba791fee3]*/
|
||||
{
|
||||
int return_value;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue