diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-12-11 12:55:53 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-12-11 12:55:53 (GMT) |
commit | 0479104a91b6f5964fa94b8c2197cf9bd7e017dc (patch) | |
tree | 2b09706dffcc5d269a2fad6b78da765ca4f81bbf | |
parent | 79f3c53ee8644b9536727efa562a3974c0d6b26c (diff) | |
download | cpython-0479104a91b6f5964fa94b8c2197cf9bd7e017dc.zip cpython-0479104a91b6f5964fa94b8c2197cf9bd7e017dc.tar.gz cpython-0479104a91b6f5964fa94b8c2197cf9bd7e017dc.tar.bz2 |
Patch #651006: Better explain what component might be empty.
-rw-r--r-- | Doc/lib/libposixpath.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex index c5f992b..7825639 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 |