Message393883
The case:
' a b c '.split(maxsplit=1) == ['a', 'b c ']
suggests that empty strings don't count towards maxsplit, otherwise it would return [' a b c '] (i.e. the split would give ['', ' a b c '] and dropping the empty strings would give [' a b c ']). |
|
Date |
User |
Action |
Args |
2021-05-18 16:41:41 | mrabarnett | set | recipients:
+ mrabarnett, gvanrossum, barry, syeberman, karlcow, serhiy.storchaka, Catherine.Devlin, Mark.Bell, veky, cheryl.sabella, corona10, ZackerySpytz, Philippe Cloutier |
2021-05-18 16:41:41 | mrabarnett | set | messageid: <1621356101.25.0.766545781253.issue28937@roundup.psfhosted.org> |
2021-05-18 16:41:41 | mrabarnett | link | issue28937 messages |
2021-05-18 16:41:41 | mrabarnett | create | |
|