This is Python 3.4.2
The documentation says that
s2 = s1.strip('a')
will strip out all the 'a' in s1.
When I run it, only the leftmost character - and only if it is 'a' - is stripped.
The default s2 = s1.strip() takes out all whitespace.
PS: I understand that the chars in () are a list.
This is from an IDLE shell:
s2 = 'qazxswedc'.rstrip('x')
s2
'qazxswedc'
(Also with .lstrip('x') and .strip('x') )
Have I found the very last bug in Python?