summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-11 12:55:53 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-12-11 12:55:53 +0000
commit12ca89e29f1c9fcbc6601ee8b682fa1057bf4c19 (patch)
tree9015d7704a78e1e2e9af9ee49ff8bf657fdd23b9
parent5b61ac02eee1041185233f39d7a6939f35921234 (diff)
downloadcpython-12ca89e29f1c9fcbc6601ee8b682fa1057bf4c19.tar.gz
Patch #651006: Better explain what component might be empty.
-rw-r--r--Doc/lib/libposixpath.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index c5f992b0d3..78256390b7 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -123,7 +123,7 @@ 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 directory separator
-(\code{os.sep}) inserted between components, unless \var{path} is
+(\code{os.sep}) inserted between components, unless \var{path2} 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