Sergio Correia added the comment:
Thanks for the update,
Sergio
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1176>
__
___
Python-bugs-list mailing list
Unsubs
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]>
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