For each element in `self`, return a list of the words in the string, using `sep` as the delimiter string. See Also -------- char.split
(self, sep=None, maxsplit=None)
| 1082 | return rstrip(self, chars) |
| 1083 | |
| 1084 | def split(self, sep=None, maxsplit=None): |
| 1085 | """ |
| 1086 | For each element in `self`, return a list of the words in the |
| 1087 | string, using `sep` as the delimiter string. |
| 1088 | |
| 1089 | See Also |
| 1090 | -------- |
| 1091 | char.split |
| 1092 | |
| 1093 | """ |
| 1094 | return split(self, sep, maxsplit) |
| 1095 | |
| 1096 | def splitlines(self, keepends=None): |
| 1097 | """ |