]> granicus.if.org Git - python/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:22:43 +0000 (16:22 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:22:43 +0000 (16:22 +0000)
Modules/posixmodule.c

index 838e2d7e8c3376d00ab4840fb44fb921cbd3be68..0ddd83e7530618d71beab5ee1d85289f028baadd 100644 (file)
@@ -736,11 +736,11 @@ posix_do_stat(PyObject *self, PyObject *args, char *format,
 
 PyDoc_STRVAR(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)