]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Corect speling and add \n\ to line ends in new docstring for access().
authorGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:24:15 +0000 (16:24 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:24:15 +0000 (16:24 +0000)
Modules/posixmodule.c

index cdc2ce5d88c51c07a909b79e9b78bbedee1e0ed6..8826c76ba3d035e67c8402551667a8440875bc3e 100644 (file)
@@ -726,11 +726,11 @@ posix_do_stat(PyObject *self, PyObject *args, char *format,
 
 static char posix_access__doc__[] =
 "access(path, mode) -> 1 if granted, 0 otherwise\n\
-Use the real uid/gid to test for access to a path.  Note that most
-operations will use the effective uid/gid, therefore this routine can
-be used in a suid/sgid environment to test if the invoking user has the
-specified access to the path.  The mode argument can be F_OK to test
-existance, or the inclusive-OR of R_OK, W_OK, and X_OK.";
+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\
+specified access to the path.  The mode argument can be F_OK to test\n\
+existence, or the inclusive-OR of R_OK, W_OK, and X_OK.";
 
 static PyObject *
 posix_access(PyObject *self, PyObject *args)