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

index 33124f9218f775bb2bb26b431ce04e514183f00d..7150454d8b262f36b81d6da330c1337b2f34b3fb 100644 (file)
@@ -857,6 +857,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}