John J. Lee jjl at
Tue Sep 23 00:42:57 CEST 2003

Erik Max Francis <max at> writes:
> You're using .rstrip incorrectly.  The second argument to string.rstrip
> is a list of characters, any one of which will be stripped if they are

Erik means 'a sequence of characters', of course, not a list.


More information about the Python-list mailing list