]> 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:50 +0000 (19:38 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 27 Jan 2007 19:38:50 +0000 (19:38 +0000)
Modules/posixmodule.c

index 3260c3d9092d0ea7d54565fad1f347988c51772d..579f2f3da3ba2959cf301cf1c737ec611f390120 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\