[Python-checkins] python/dist/src/Doc/lib libposixpath.tex,1.26,1.27
montanaro@users.sourceforge.net
montanaro@users.sourceforge.net
Thu, 12 Sep 2002 10:39:58 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv27036
Modified Files:
libposixpath.tex
Log Message:
add note about os.path.join and drive letters on Windows.
Index: libposixpath.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libposixpath.tex,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** libposixpath.tex 7 Aug 2002 12:39:33 -0000 1.26
--- libposixpath.tex 12 Sep 2002 17:39:56 -0000 1.27
***************
*** 124,128 ****
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.
\end{funcdesc}
--- 124,131 ----
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}.
\end{funcdesc}