diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-05 22:29:33 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-05 22:29:33 (GMT) |
commit | 768f3b4492c3ab5037cf575bd5dcf2155aeb33b5 (patch) | |
tree | 7be98777e1094b346dec4b78bceec98e29cb6a88 /Modules/posixmodule.c | |
parent | 9ed756bc21448bf1f2e1b45e11a523d1ac8c869a (diff) | |
download | cpython-768f3b4492c3ab5037cf575bd5dcf2155aeb33b5.zip cpython-768f3b4492c3ab5037cf575bd5dcf2155aeb33b5.tar.gz cpython-768f3b4492c3ab5037cf575bd5dcf2155aeb33b5.tar.bz2 |
do not pretend to support passing a fd to access()
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index b854caf..f6f08bf 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -2517,8 +2517,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, @@ -2556,7 +2556,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; |