summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/collections.py')
-rw-r--r--Lib/collections.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index 0d35bfd..8fb123f 100644
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -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
+
################################################################################