Message120373
One nuance, it may be better to implement as:
a_cnt = collections.Counter(iter(a))
b_cnt = collections.Counter(iter(b))
That will bypass the special handling the Counter constructor has if the argument is a Mapping. |
|
Date |
User |
Action |
Args |
2010-11-04 02:41:57 | rhettinger | set | recipients:
+ rhettinger, ezio.melotti, michael.foord |
2010-11-04 02:41:57 | rhettinger | set | messageid: <1288838517.53.0.545343816427.issue10242@psf.upfronthosting.co.za> |
2010-11-04 02:41:56 | rhettinger | link | issue10242 messages |
2010-11-04 02:41:55 | rhettinger | create | |
|