From: Georg Brandl Date: Sat, 27 Jan 2007 19:38:56 +0000 (+0000) Subject: Bug #1645944: os.access now returns bool but docstring is not updated X-Git-Tag: v2.5.1c1~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d26ef1d10f28d3059b1e75f1d3f4405c1088b95;p=python Bug #1645944: os.access now returns bool but docstring is not updated (backport from rev. 53579) --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 0a84a2556b..857d535279 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\