mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Add a note to os.chown that permission constants can be combined
This commit is contained in:
parent
841d25ee66
commit
a6ba60232a
1 changed files with 2 additions and 1 deletions
|
|
@ -753,7 +753,8 @@ Availability: Macintosh, \UNIX.
|
||||||
\begin{funcdesc}{chmod}{path, mode}
|
\begin{funcdesc}{chmod}{path, mode}
|
||||||
Change the mode of \var{path} to the numeric \var{mode}.
|
Change the mode of \var{path} to the numeric \var{mode}.
|
||||||
\var{mode} may take one of the following values
|
\var{mode} may take one of the following values
|
||||||
(as defined in the \module{stat} module):
|
(as defined in the \module{stat} module) or bitwise or-ed
|
||||||
|
combinations of them:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \code{S_ISUID}
|
\item \code{S_ISUID}
|
||||||
\item \code{S_ISGID}
|
\item \code{S_ISGID}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue