Bug #1475009: clarify ntpath.join behavior with absolute components
This commit is contained in:
parent
314acacb52
commit
677800723a
|
@ -146,8 +146,9 @@ should detect mount points for all \UNIX{} and \POSIX{} variants.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{join}{path1\optional{, path2\optional{, ...}}}
|
\begin{funcdesc}{join}{path1\optional{, path2\optional{, ...}}}
|
||||||
Joins one or more path components intelligently. If any component is
|
Join one or more path components intelligently. If any component is
|
||||||
an absolute path, all previous components are thrown away, and joining
|
an absolute path, all previous components (on Windows, including the
|
||||||
|
previous drive letter, if there was one) are thrown away, and joining
|
||||||
continues. The return value is the concatenation of \var{path1}, and
|
continues. The return value is the concatenation of \var{path1}, and
|
||||||
optionally \var{path2}, etc., with exactly one directory separator
|
optionally \var{path2}, etc., with exactly one directory separator
|
||||||
(\code{os.sep}) inserted between components, unless \var{path2} is
|
(\code{os.sep}) inserted between components, unless \var{path2} is
|
||||||
|
|
Loading…
Reference in New Issue