3 ms·
It has a lot of issues. The biggest one for me is the following: Dicts are intended to take hashable keys (e.g. frozensets or tuples), but this method fails in
by joelthelion 9y ago
It has a lot of issues. The biggest one for me is the following: Dicts are intended to take hashable keys (e.g. frozensets or tuples), but this method fails in Python 3 when keys are not strings.
Source: https://stackoverflow.com/questions/38987/how-to-merge-two-dictionaries-in-a-single-expression https://stackoverflow.com/questions/38987/how-to-merge-two-d...