Author serhiy.storchaka
Recipients ned.deily, rhettinger, serhiy.storchaka
Date 2018-02-08.09:24:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518081881.02.0.467229070634.issue32792@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-02-08 09:24:41serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ned.deily
2018-02-08 09:24:41serhiy.storchakasetmessageid: <1518081881.02.0.467229070634.issue32792@psf.upfronthosting.co.za>
2018-02-08 09:24:41serhiy.storchakalinkissue32792 messages
2018-02-08 09:24:40serhiy.storchakacreate