Skip to content

Instantly share code, notes, and snippets.

@ErinCall
Created August 10, 2011 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ErinCall/1138231 to your computer and use it in GitHub Desktop.
Save ErinCall/1138231 to your computer and use it in GitHub Desktop.
{}.update
>>> foo = { 'a': 1, 'b': 2 }
>>> foo.update({'b': 444444, 'c': 3});
>>> foo
{'a': 1, 'c': 3, 'b': 444444}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment