]> granicus.if.org Git - python/commitdiff
Bug #1373197: note that os.makedirs does not work with '..'
authorGeorg Brandl <georg@python.org>
Sat, 17 Dec 2005 17:47:42 +0000 (17:47 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 17 Dec 2005 17:47:42 +0000 (17:47 +0000)
Doc/lib/libos.tex

index 48cda9b63253af0faf3152f8dec0c3428fd0c91e..148d2dadd19b84ae123c3036bc444a28bb8159a7 100644 (file)
@@ -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}