Commit a90bb7dd authored by Skip Montanaro's avatar Skip Montanaro

add note about os.path.join and drive letters on Windows.

parent b111f01a
......@@ -123,7 +123,10 @@ Joins one or more path components intelligently. If any component is
an absolute path, all previous components are thrown away, and joining
continues. The return value is the concatenation of \var{path1}, and
optionally \var{path2}, etc., with exactly one slash (\code{'/'})
inserted between components, unless \var{path} is empty.
inserted between components, unless \var{path} is empty. Note that on
Windows, since there is a current directory for each drive,
{}\function{os.path.join("c:", "foo")} represents a path relative to the
current directory on drive C:, not \code{c:\\foo}.
\end{funcdesc}
\begin{funcdesc}{normcase}{path}
......
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