Kaydet (Commit) 3225242a authored tarafından Georg Brandl's avatar Georg Brandl

bug [ 1274828 ] splitunc not documented

üst 80bbf3f6
...@@ -234,6 +234,15 @@ and \var{ext} is empty or begins with a period and contains ...@@ -234,6 +234,15 @@ and \var{ext} is empty or begins with a period and contains
at most one period. at most one period.
\end{funcdesc} \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} \begin{funcdesc}{walk}{path, visit, arg}
Calls the function \var{visit} with arguments Calls the function \var{visit} with arguments
\code{(\var{arg}, \var{dirname}, \var{names})} for each directory in the \code{(\var{arg}, \var{dirname}, \var{names})} for each directory in the
......
...@@ -512,6 +512,8 @@ Tests ...@@ -512,6 +512,8 @@ Tests
Documentation Documentation
------------- -------------
- Bug #1274828: Document os.path.splitunc().
- Bug #1190204: Clarify which directories are searched by site.py. - Bug #1190204: Clarify which directories are searched by site.py.
- Bug #1193849: Clarify os.path.expanduser() documentation. - Bug #1193849: Clarify os.path.expanduser() documentation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment