[issue5439] string.strip behaves strangly
Ezio Melotti
report at bugs.python.org
Sun Mar 8 06:32:12 CET 2009
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
http://docs.python.org/library/string.html#string.strip
string.strip(s[, chars])
Return a copy of the string with leading and trailing characters
removed. If chars is omitted or None, whitespace characters are removed.
If given and not None, chars must be a string; the characters in the
string **will be stripped from the both ends** of the string this method
is called on.
----------
nosy: +ezio.melotti
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5439>
_______________________________________
More information about the Python-bugs-list
mailing list