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

Brian Brazil report at bugs.python.org
Sun Oct 10 10:41:45 CEST 2010


Brian Brazil <brian.brazil at gmail.com> added the comment:

That doesn't cover the os.path.join('', 'x') case, and I'm not sure it makes os.path.join('x//', 'y') clear - though that doesn't matter as much.

How about making (2) "the result is simply path2 when path1 is empty or path2 is an absolute path?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9921>
_______________________________________


More information about the docs mailing list