Message245376
I agree that it would be nice if len(mo) == len(mo.groups()), but Serhiy has explained why that's not the case in the regex module.
The regex module does support mo[name], so:
print('Located coordinate at (%(row)s, %(col)s)' % mo)
print('Located coordinate at ({row}, {col})'.format_map(mo))
already work. |
|
Date |
User |
Action |
Args |
2015-06-15 14:14:00 | mrabarnett | set | recipients:
+ mrabarnett, barry, rhettinger, eric.smith, ezio.melotti, serhiy.storchaka |
2015-06-15 14:14:00 | mrabarnett | set | messageid: <1434377640.85.0.637613890789.issue24454@psf.upfronthosting.co.za> |
2015-06-15 14:14:00 | mrabarnett | link | issue24454 messages |
2015-06-15 14:14:00 | mrabarnett | create | |
|