summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-03-20 17:42:48 +0000
committerFred Drake <fdrake@acm.org>2003-03-20 17:42:48 +0000
commit158303a52dac65c38f1ddbf5b2e4fbf0e7ae55bb (patch)
treea6d135d5879ef59817c2849f69e5473c70abc031 /Doc
parent1a5727fb50a5f692e4f429652cdd6d673d7db4ea (diff)
downloadcpython-git-158303a52dac65c38f1ddbf5b2e4fbf0e7ae55bb.tar.gz
- explain what a UNC path is in the makedirs() description, since
they're actually mentioned there
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libos.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index fcc172f81b..3d0b4051bd 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -672,12 +672,15 @@ Availability: Macintosh, \UNIX, Windows.
\begin{funcdesc}{makedirs}{path\optional{, mode}}
\index{directory!creating}
-Recursive directory creation function. Like \function{mkdir()},
+Recursive directory creation function.\index{directory!creating}
+\index{UNC paths!and \function{os.makedirs()}}
+Like \function{mkdir()},
but makes all intermediate-level directories needed to contain the
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). This function does not properly handle UNC
-paths (only relevant on Windows systems).
+paths (only relevant on Windows systems; Universal Naming Convention
+paths are those that use the `\code{\e\e host\e path}' syntax).
\versionadded{1.5.2}
\end{funcdesc}