]> granicus.if.org Git - python/commitdiff
Patch #651006: Better explain what component might be empty.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 11 Dec 2002 12:55:53 +0000 (12:55 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 11 Dec 2002 12:55:53 +0000 (12:55 +0000)
Doc/lib/libposixpath.tex

index c5f992b0d37b68ff594b8e92979783031dd4f73d..78256390b7c4794863973a5a5fb2e4cc4facd82e 100644 (file)
@@ -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