[issue8700] strip() is removing an extra character if the strip pattern contains "-"

R. David Murray report at bugs.python.org
Wed May 12 20:31:25 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

The argument to strip is a set of characters to remove, not a substring.

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list