Home | History | Annotate | Download | only in python2.7

Lines Matching refs:maxsplit

281 def split(s, sep=None, maxsplit=-1):
282 """split(s [,sep [,maxsplit]]) -> list of strings
285 delimiter string. If maxsplit is given, splits at no more than
286 maxsplit places (resulting in at most maxsplit+1 words). If sep
292 return s.split(sep, maxsplit)
296 def rsplit(s, sep=None, maxsplit=-1):
297 """rsplit(s [,sep [,maxsplit]]) -> list of strings
301 to the front. If maxsplit is given, at most maxsplit splits are
305 return s.rsplit(sep, maxsplit)