must provide this method

This commit is contained in:
Benjamin Peterson 2009-04-04 17:26:32 +00:00
parent e099b37428
commit 2504b7a06f

View file

@ -132,6 +132,9 @@ class OrderedDict(dict, MutableMapping):
all(p==q for p, q in zip(self.items(), other.items()))
return dict.__eq__(self, other)
def __ne__(self, other):
return not self == other
################################################################################