summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-09-14 20:42:00 (GMT)
committerGeorg Brandl <georg@python.org>2005-09-14 20:42:00 (GMT)
commit3225242a39bef1a9f759867518981f512c2d61f3 (patch)
tree7cfcc6112375d13901f4d7b316d3612e25798502 /Doc
parent80bbf3f6c82261d6f925fbc35d62a7766fd83310 (diff)
downloadcpython-3225242a39bef1a9f759867518981f512c2d61f3.zip
cpython-3225242a39bef1a9f759867518981f512c2d61f3.tar.gz
cpython-3225242a39bef1a9f759867518981f512c2d61f3.tar.bz2
bug [ 1274828 ] splitunc not documented
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libposixpath.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index 59944f8..190cf07 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -234,6 +234,15 @@ and \var{ext} is empty or begins with a period and contains
at most one period.
\end{funcdesc}
+\begin{funcdesc}{splitunc}{path}
+Split the pathname \var{path} into a pair \code{(\var{unc}, \var{rest})}
+so that \var{unc} is the UNC mount point (such as \code{r'\e\e host\e mount'}),
+if present, and \var{rest} the rest of the path (such as
+\code{r'\e path\e file.ext'}). For paths containing drive letters, \var{unc}
+will always be the empty string.
+Availability: Windows.
+\end{funcdesc}
+
\begin{funcdesc}{walk}{path, visit, arg}
Calls the function \var{visit} with arguments
\code{(\var{arg}, \var{dirname}, \var{names})} for each directory in the