Skip to content

Instantly share code, notes, and snippets.

@kzinmr
Created October 17, 2018 04:04
Show Gist options
  • Save kzinmr/fc2252165851ad33a542c82e4b9dfc10 to your computer and use it in GitHub Desktop.
Save kzinmr/fc2252165851ad33a542c82e4b9dfc10 to your computer and use it in GitHub Desktop.
dict_merge = lambda a,b: a.update(b) or a
dict_merge({'a':1, 'b':3},{'c':5})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment