Skip to content

Instantly share code, notes, and snippets.

@njlr
Created October 12, 2017 16:09
Show Gist options
  • Save njlr/2f8487637782deb2d97ac5634082a53b to your computer and use it in GitHub Desktop.
Save njlr/2f8487637782deb2d97ac5634082a53b to your computer and use it in GitHub Desktop.
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