For each element in `self`, return a copy with the trailing characters removed. See Also -------- char.rstrip
(self, chars=None)
| 1070 | return rsplit(self, sep, maxsplit) |
| 1071 | |
| 1072 | def rstrip(self, chars=None): |
| 1073 | """ |
| 1074 | For each element in `self`, return a copy with the trailing |
| 1075 | characters removed. |
| 1076 | |
| 1077 | See Also |
| 1078 | -------- |
| 1079 | char.rstrip |
| 1080 | |
| 1081 | """ |
| 1082 | return rstrip(self, chars) |
| 1083 | |
| 1084 | def split(self, sep=None, maxsplit=None): |
| 1085 | """ |