Message311822
An alternate implementation:
d = {}
for mapping in reversed(self.maps):
d.update(mapping)
return iter(d)
Unfortunately both implementations work only with hashable keys. In general case mappings may be not hashtables. |
|
Date |
User |
Action |
Args |
2018-02-08 09:24:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ned.deily |
2018-02-08 09:24:41 | serhiy.storchaka | set | messageid: <1518081881.02.0.467229070634.issue32792@psf.upfronthosting.co.za> |
2018-02-08 09:24:41 | serhiy.storchaka | link | issue32792 messages |
2018-02-08 09:24:40 | serhiy.storchaka | create | |
|