mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
must provide this method
This commit is contained in:
parent
e099b37428
commit
2504b7a06f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue