Skip to content

Instantly share code, notes, and snippets.

@plathrop
Created October 29, 2014 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plathrop/2c5ebe3890207fd5a9c3 to your computer and use it in GitHub Desktop.
Save plathrop/2c5ebe3890207fd5a9c3 to your computer and use it in GitHub Desktop.
In [1]: d1 = {'a': 1}
In [2]: d2 = {'a': 2}
In [3]: d1 == d2
Out[3]: False
In [4]: d2 = {'a': 1, 'b': 2}
In [5]: d1 == d2
Out[5]: False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment