]> granicus.if.org Git - python/commitdiff
Bug #1645944: os.access now returns bool but docstring is not updated
authorGeorg Brandl <georg@python.org>
Sat, 27 Jan 2007 19:38:56 +0000 (19:38 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 27 Jan 2007 19:38:56 +0000 (19:38 +0000)
 (backport from rev. 53579)

Modules/posixmodule.c

index 0a84a2556b556e82c4ae8bb30c1729fad9635cd5..857d535279b99b5d9ffebc5ad5bb4ea08ffa0988 100644 (file)
@@ -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\