Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 852a542

Browse files
committed
Bug #1373197: note that os.makedirs does not work with '..'
1 parent 69cb3cd commit 852a542

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/lib/libos.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,8 @@ \subsection{Files and Directories \label{os-file-dir}}
877877
directory already exists or cannot be created. The default \var{mode}
878878
is \code{0777} (octal). On some systems, \var{mode} is ignored.
879879
Where it is used, the current umask value is first masked out.
880+
\note{\function{makedirs()} will become confused if the path elements
881+
to create include \var{os.pardir}.}
880882
\versionadded{1.5.2}
881883
\versionchanged[This function now handles UNC paths correctly]{2.3}
882884
\end{funcdesc}

0 commit comments

Comments
 (0)