Message245375
I'd definitely be for mo['col']. I can't say I've ever used len(mo.groups()).
I do have lots of code like:
return mo.group('col'), mo.group('row'), mo.group('foo')
Using groupdict there is doable but not great. But:
return mo['col'], mo['row'], mo['foo']
would be a definite improvement. |
|
Date |
User |
Action |
Args |
2015-06-15 13:50:13 | eric.smith | set | recipients:
+ eric.smith, barry, rhettinger, ezio.melotti, mrabarnett, serhiy.storchaka |
2015-06-15 13:50:13 | eric.smith | set | messageid: <1434376213.29.0.930620523236.issue24454@psf.upfronthosting.co.za> |
2015-06-15 13:50:13 | eric.smith | link | issue24454 messages |
2015-06-15 13:50:13 | eric.smith | create | |
|