]> granicus.if.org Git - python/commitdiff
bug [ 1274828 ] splitunc not documented
authorGeorg Brandl <georg@python.org>
Wed, 14 Sep 2005 20:42:00 +0000 (20:42 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 14 Sep 2005 20:42:00 +0000 (20:42 +0000)
Doc/lib/libposixpath.tex
Misc/NEWS

index 59944f8849fad0a38c3ec47e14acde91ae284802..190cf07dc143d4edcbc387d64bdf8e65337da4a0 100644 (file)
@@ -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
index 45e7007c2284fe1f6d3a86b1438ab5832c03cd9a..855a95cde2346731d3eb3736353730e5018a8042 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -512,6 +512,8 @@ Tests
 Documentation
 -------------
 
+- Bug #1274828: Document os.path.splitunc().
+
 - Bug #1190204: Clarify which directories are searched by site.py.
 
 - Bug #1193849: Clarify os.path.expanduser() documentation.