Message115167
FWIW, the usual way to spell this in Python is:
my_dict_1.update((k, my_dict_2[k]) for k in ['a', 'c'])
We try to keep filtering operations separate from map/fold operations for orthognality. |
|
Date |
User |
Action |
Args |
2010-08-28 20:02:51 | rhettinger | set | recipients:
+ rhettinger, benjamin.peterson, Ultrasick |
2010-08-28 20:02:51 | rhettinger | set | messageid: <1283025771.5.0.421881327094.issue9705@psf.upfronthosting.co.za> |
2010-08-28 20:02:50 | rhettinger | link | issue9705 messages |
2010-08-28 20:02:49 | rhettinger | create | |
|