mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Bug #1373197: note that os.makedirs does not work with '..'
This commit is contained in:
parent
69cb3cde1a
commit
852a542279
1 changed files with 2 additions and 0 deletions
|
@ -877,6 +877,8 @@ leaf directory. Throws an \exception{error} exception if the leaf
|
|||
directory already exists or cannot be created. The default \var{mode}
|
||||
is \code{0777} (octal). On some systems, \var{mode} is ignored.
|
||||
Where it is used, the current umask value is first masked out.
|
||||
\note{\function{makedirs()} will become confused if the path elements
|
||||
to create include \var{os.pardir}.}
|
||||
\versionadded{1.5.2}
|
||||
\versionchanged[This function now handles UNC paths correctly]{2.3}
|
||||
\end{funcdesc}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue