Home | History | Annotate | Download | only in Lib

Lines Matching refs:maxsplit

283 def split(s, sep=None, maxsplit=-1):
284 """split(s [,sep [,maxsplit]]) -> list of strings
287 delimiter string. If maxsplit is given, splits at no more than
288 maxsplit places (resulting in at most maxsplit+1 words). If sep
294 return s.split(sep, maxsplit)
298 def rsplit(s, sep=None, maxsplit=-1):
299 """rsplit(s [,sep [,maxsplit]]) -> list of strings
303 to the front. If maxsplit is given, at most maxsplit splits are
307 return s.rsplit(sep, maxsplit)