summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-09-12 18:01:26 (GMT)
committerFred Drake <fdrake@acm.org>2002-09-12 18:01:26 (GMT)
commitc1ddc505d989fa5d5b432751fd2eb0e3eec796a0 (patch)
tree534c14a28df3dfd2cc0d1d92dffdae19d395286c /Doc
parentc12909bcc6edd14b20f08a8818e5ef36503c4ade (diff)
downloadcpython-c1ddc505d989fa5d5b432751fd2eb0e3eec796a0.zip
cpython-c1ddc505d989fa5d5b432751fd2eb0e3eec796a0.tar.gz
cpython-c1ddc505d989fa5d5b432751fd2eb0e3eec796a0.tar.bz2
Minor revision to the "\\" patch, including updating the docs a little to
accomodate the fact that they are more general now that they are for the os.path module and not just posixpath. This and the previous patch should be combined and applied to the 2.2-maint branch.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libposixpath.tex11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index 11a5740..7ad19e3 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -122,11 +122,12 @@ should detect mount points for all \UNIX{} and \POSIX{} variants.
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. 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}.
+optionally \var{path2}, etc., with exactly one directory separator
+(\code{os.sep}) 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 \file{C:} (\file{c:foo}), not
+\file{c:\textbackslash\textbackslash foo}.
\end{funcdesc}
\begin{funcdesc}{normcase}{path}