[Python-checkins] r53579 - python/trunk/Modules/posixmodule.c
georg.brandl
python-checkins at python.org
Sat Jan 27 20:38:51 CET 2007
Author: georg.brandl
Date: Sat Jan 27 20:38:50 2007
New Revision: 53579
Modified:
python/trunk/Modules/posixmodule.c
Log:
Bug #1645944: os.access now returns bool but docstring is not updated
Modified: python/trunk/Modules/posixmodule.c
==============================================================================
--- python/trunk/Modules/posixmodule.c (original)
+++ python/trunk/Modules/posixmodule.c Sat Jan 27 20:38:50 2007
@@ -1462,7 +1462,7 @@
/* 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\
More information about the Python-checkins
mailing list