March 2003
Intermediate to advanced
656 pages
39h 30m
English
rstrip
s.rstrip(x=None)Returns a copy of s with trailing
whitespace, if any, removed. Since Python 2.2.2, you can optionally
pass a string x as an argument, in which
case rstrip removes characters found in
x rather than removing whitespace.