]> granicus.if.org Git - python/commitdiff
[ 755617 ] os module: Need a better description of "mode"
authorGeorg Brandl <georg@python.org>
Mon, 18 Jul 2005 08:16:33 +0000 (08:16 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 18 Jul 2005 08:16:33 +0000 (08:16 +0000)
Doc/lib/libos.tex

index e5b5962d99b8c76ec9ebc350d3e89549093d79bd..3d9056dad225f073bbf0543ab86d7a198e2c6381 100644 (file)
@@ -764,6 +764,11 @@ Change the mode of \var{path} to the numeric \var{mode}.
   \item \code{S_IXOTH}
 \end{itemize}
 Availability: Macintosh, \UNIX, Windows.
+
+\note{Although Windows supports \function{chmod()}, you can only 
+set the file's read-only flag with it (via the \code{S_IWRITE} 
+and \code{S_IREAD} constants or a corresponding integer value). 
+All other bits are ignored.}
 \end{funcdesc}
 
 \begin{funcdesc}{chown}{path, uid, gid}