Bug #1106572: clarify os.makedirs docs wrt umask
This commit is contained in:
parent
b80775ecf1
commit
c1d2f7b6ad
|
@ -875,7 +875,8 @@ Like \function{mkdir()},
|
||||||
but makes all intermediate-level directories needed to contain the
|
but makes all intermediate-level directories needed to contain the
|
||||||
leaf directory. Throws an \exception{error} exception if the leaf
|
leaf directory. Throws an \exception{error} exception if the leaf
|
||||||
directory already exists or cannot be created. The default \var{mode}
|
directory already exists or cannot be created. The default \var{mode}
|
||||||
is \code{0777} (octal).
|
is \code{0777} (octal). On some systems, \var{mode} is ignored.
|
||||||
|
Where it is used, the current umask value is first masked out.
|
||||||
\versionadded{1.5.2}
|
\versionadded{1.5.2}
|
||||||
\versionchanged[This function now handles UNC paths correctly]{2.3}
|
\versionchanged[This function now handles UNC paths correctly]{2.3}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
Loading…
Reference in New Issue