Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> from collections import ChainMap
- >>> d = {"a": 4, "b": 5}
- >>> e = {"a": 10, "c": 8}
- >>> m = ChainMap(d, e)
- >>> dict(m)
- {'a': 4, 'c': 8, 'b': 5}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement