Skip to content

Instantly share code, notes, and snippets.

@rbrooks
Created August 19, 2016 17:49
Show Gist options
  • Save rbrooks/df28a497ba99954175c93dbd1486fc5f to your computer and use it in GitHub Desktop.
Save rbrooks/df28a497ba99954175c93dbd1486fc5f to your computer and use it in GitHub Desktop.
Merge Dictionaries
def merge_dicts(x, y):
z = x.copy()
z.update(y)
return z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment