[issue9921] os.path.join('x','') behavior

Oct. 1, 2010
3:53 p.m.
Radu Grigore <radugrigore@gmail.com> added the comment: I would say something like the following. The function join(path1, path2) is almost like os.sep.join(path1, path2), but (1) trailing path separators in path1 are ignored and (2) the result is simply path2 when path2 is an absolute path. The call join(path1, path2, path3) is equivalent to join(join(path1, path2), path3), and similarly for more than three paths. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue9921> _______________________________________
5283
Age (days ago)
5283
Last active (days ago)
0 comments
1 participants
participants (1)
-
Radu Grigore