[issue5318] strip, rstrip & lstrip bug

Ezio Melotti report at bugs.python.org
Thu Feb 19 18:25:41 CET 2009


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

This is not a bug:
str.strip([chars])
 ... The chars argument is not a prefix or suffix; rather, all
combinations of its values are stripped: ...

http://docs.python.org/library/stdtypes.html#str.strip

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

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


More information about the Python-bugs-list mailing list