[issue6346] Rstrip Incorrectly Strips Some Strings

Ezio Melotti report at bugs.python.org
Fri Jun 26 23:15:07 CEST 2009


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

And you should probably use
http://docs.python.org/library/os.path.html#os.path.splitext instead of
.rstrip().

----------
nosy: +ezio.melotti

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


More information about the Python-bugs-list mailing list