[issue1176] str.split() takes no keyword arguments (Should this be expected?)

2007-09-20 Thread Sergio Correia
Sergio Correia added the comment: Thanks for the update, Sergio __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1176> __ ___ Python-bugs-list mailing list Unsubs

[issue1176] str.split() takes no keyword arguments (Should this be expected?)

2007-09-18 Thread Sergio Correia
Sergio Correia added the comment: As a side note, this is slightly related with: http://mail.python.org/pipermail/python-dev/2000-October/009694.html http://bugs.python.org/issue1123 (but check the date of the first link!) __ Tracker <[EMAIL PROTECTED]>

[issue1176] str.split() takes no keyword arguments (Should this be expected?)

2007-09-18 Thread Sergio Correia
New submission from Sergio Correia: str.split() does not accept maxsplits as a keyword argument. If i want to split a string, and, say, get its first word, I do this: >>> 'SPAM eggs eggs spam spam ham'.split(None, 1)[0] 'SPAM' However, as documented on help