mirror of
https://github.com/python/cpython.git
synced 2025-12-09 02:35:14 +00:00
Bug #1645944: os.access now returns bool but docstring is not updated
This commit is contained in:
parent
4ba9e5bdc7
commit
7a28447d4c
1 changed files with 1 additions and 1 deletions
|
|
@ -1462,7 +1462,7 @@ posix_do_stat(PyObject *self, PyObject *args,
|
||||||
/* POSIX methods */
|
/* POSIX methods */
|
||||||
|
|
||||||
PyDoc_STRVAR(posix_access__doc__,
|
PyDoc_STRVAR(posix_access__doc__,
|
||||||
"access(path, mode) -> 1 if granted, 0 otherwise\n\n\
|
"access(path, mode) -> True if granted, False otherwise\n\n\
|
||||||
Use the real uid/gid to test for access to a path. Note that most\n\
|
Use the real uid/gid to test for access to a path. Note that most\n\
|
||||||
operations will use the effective uid/gid, therefore this routine can\n\
|
operations will use the effective uid/gid, therefore this routine can\n\
|
||||||
be used in a suid/sgid environment to test if the invoking user has the\n\
|
be used in a suid/sgid environment to test if the invoking user has the\n\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue