summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-12-17 17:47:42 (GMT)
committerGeorg Brandl <georg@python.org>2005-12-17 17:47:42 (GMT)
commit852a542279f524951ac5cfcc59d2ec022214898c (patch)
treecea4f10178532108371f0ebbdefec1f95f141341 /Doc
parent69cb3cde1a8b033ab01fd7748929d0e2141d5a3e (diff)
downloadcpython-852a542279f524951ac5cfcc59d2ec022214898c.zip
cpython-852a542279f524951ac5cfcc59d2ec022214898c.tar.gz
cpython-852a542279f524951ac5cfcc59d2ec022214898c.tar.bz2
Bug #1373197: note that os.makedirs does not work with '..'
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libos.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 48cda9b..148d2da 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -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}