[Python-checkins] python/dist/src/Doc/lib libos.tex,1.107,1.108
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Mon, 06 Jan 2003 05:31:29 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv24197
Modified Files:
libos.tex
Log Message:
SF bug #592859: os.chmod is underdocumented
Document constants for permission bits.
Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** libos.tex 5 Jan 2003 22:20:51 -0000 1.107
--- libos.tex 6 Jan 2003 13:31:26 -0000 1.108
***************
*** 654,657 ****
--- 654,679 ----
\begin{funcdesc}{chmod}{path, mode}
Change the mode of \var{path} to the numeric \var{mode}.
+ \var{mode} may take one of the following values:
+ \begin{itemize}
+ \item \code{S_ISUID}
+ \item \code{S_ISGID}
+ \item \code{S_ENFMT}
+ \item \code{S_ISVTX}
+ \item \code{S_IREAD}
+ \item \code{S_IWRITE}
+ \item \code{S_IEXEC}
+ \item \code{S_IRWXU}
+ \item \code{S_IRUSR}
+ \item \code{S_IWUSR}
+ \item \code{S_IXUSR}
+ \item \code{S_IRWXG}
+ \item \code{S_IRGRP}
+ \item \code{S_IWGRP}
+ \item \code{S_IXGRP}
+ \item \code{S_IRWXO}
+ \item \code{S_IROTH}
+ \item \code{S_IWOTH}
+ \item \code{S_IXOTH}
+ \end{itemize}
Availability: \UNIX, Windows.
\end{funcdesc}