Serhiy Storchaka <[email protected]> added the comment:

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.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32792>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to