Message128234
I was hoping that I could use a list/tuple of separators for the split method:
"abcde".split(["b", "d"])
vs.
import re
re.split("b|d", "abcde")
That's one extra LOC, and (worse still) forces me to learn regexp.
Does this suggested 'improvement' make sense? |
|
Date |
User |
Action |
Args |
2011-02-09 19:46:23 | tshepang | set | recipients:
+ tshepang |
2011-02-09 19:46:23 | tshepang | set | messageid: <1297280783.19.0.370230386976.issue11162@psf.upfronthosting.co.za> |
2011-02-09 19:46:22 | tshepang | link | issue11162 messages |
2011-02-09 19:46:22 | tshepang | create | |
|