Message153920
| Author |
ncoghlan |
| Recipients |
ncoghlan |
| Date |
2012年02月22日.01:54:09 |
| SpamBayes Score |
0.0703316 |
| Marked as misclassified |
No |
| Message-id |
<1329875650.41.0.375574316124.issue14081@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|
History
|
|---|
| 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 |
|