Consider:
>>> a = {\'foo\': {\'bar\': 3}} >>> b = {\'foo\': {\'bar\': 3}} >>> a == b True
According to the pyth
The dictionaries are equal if they have the same keys and the same values for each key.
See some examples:
dict(a=1, b=2) == dict(a=2, b=1) False dict(a=1, b=2) == dict(a=1, b=2, c=0) False dict(a=1, b=2) == dict(b=2, a=1) True