[docs] [issue9921] os.path.join('x','') behavior
Rafe H. Kettler
report at bugs.python.org
Mon Oct 11 18:33:12 CEST 2010
Rafe H. Kettler <rafe.kettler at gmail.com> added the comment:
Radu, while the comments are not as clear for ntpath, the behavior is the same. So, the comment you detailed from posixpath could be adapted to Windows by replacing '/' with 'a separator' or something of that nature.
That said, the comment in posixpath could be adapted to clear english like so:
join() inserts a separator unless the first part is empty or already ends in a separator. If a part is absolute, join() ignores the previous parts.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9921>
_______________________________________
More information about the docs
mailing list