Message153920
Currently, setting maxsplit for the default "any whitespace" behaviour requires the following cryptic incantation:
'do re mi fa'.split(None, 1)
That would be significantly more comprehensible as:
'do re mi fa'.split(maxsplit=1)
(I noticed this when trying to figure out why http://hyperpolyglot.org/scripting#split-notes resorted to using the re module to achieve this) |
|
Date |
User |
Action |
Args |
2012-02-22 01:54:10 | ncoghlan | set | recipients:
+ ncoghlan |
2012-02-22 01:54:10 | ncoghlan | set | messageid: <1329875650.41.0.375574316124.issue14081@psf.upfronthosting.co.za> |
2012-02-22 01:54:09 | ncoghlan | link | issue14081 messages |
2012-02-22 01:54:09 | ncoghlan | create | |
|