summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-12-31 18:37:28 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-12-31 18:37:28 (GMT)
commit9b4dab4da1b02d4e89c3882cd779516cada3644f (patch)
tree442b02ebca102d4c114736136674e06ab8c0bdcc /Doc/lib/libos.tex
parenta3b11e7fb3552bf9a73ba31cda30b9c0f342cb5c (diff)
downloadcpython-9b4dab4da1b02d4e89c3882cd779516cada3644f.zip
cpython-9b4dab4da1b02d4e89c3882cd779516cada3644f.tar.gz
cpython-9b4dab4da1b02d4e89c3882cd779516cada3644f.tar.bz2
SF patch #859286: documentation bool change fix
(Contributed by George Yoshida.)
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index a8ceac8..c96a990 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -272,7 +272,7 @@ Set the current process' user id.
Availability: \UNIX.
\end{funcdesc}
-% placed in this section since it relates to errno.... a little weak ;-(
+% placed in this section since it relates to errno.... a little weak
\begin{funcdesc}{strerror}{code}
Return the error message corresponding to the error code in
\var{code}.
@@ -616,7 +616,8 @@ be used in a suid/sgid environment to test if the invoking user has the
specified access to \var{path}. \var{mode} should be \constant{F_OK}
to test the existence of \var{path}, or it can be the inclusive OR of
one or more of \constant{R_OK}, \constant{W_OK}, and \constant{X_OK} to
-test permissions. Return \code{1} if access is allowed, \code{0} if not.
+test permissions. Return \constant{True} if access is allowed,
+\constant{False} if not.
See the \UNIX{} man page \manpage{access}{2} for more information.
Availability: \UNIX, Windows.
\end{funcdesc}