summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-01-27 19:38:50 (GMT)
committerGeorg Brandl <georg@python.org>2007-01-27 19:38:50 (GMT)
commit7a28447d4cd2ad768a1152725cce17d7c14b96c9 (patch)
treeb0c9fe832f87e6d03472efb593e0520836ecaf2d
parent4ba9e5bdc7213373dab9eb915fb459f7f5e06fb5 (diff)
downloadcpython-7a28447d4cd2ad768a1152725cce17d7c14b96c9.zip
cpython-7a28447d4cd2ad768a1152725cce17d7c14b96c9.tar.gz
cpython-7a28447d4cd2ad768a1152725cce17d7c14b96c9.tar.bz2
Bug #1645944: os.access now returns bool but docstring is not updated
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 3260c3d..579f2f3 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1462,7 +1462,7 @@ posix_do_stat(PyObject *self, PyObject *args,
/* POSIX methods */
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\
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\