summaryrefslogtreecommitdiffstats
path: root/Lib/_abcoll.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/_abcoll.py')
-rw-r--r--Lib/_abcoll.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
index 9bcaae9..8090b84 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -379,10 +379,10 @@ class Mapping(metaclass=ABCMeta):
return ValuesView(self)
def __eq__(self, other):
- return set(self) == set(other)
+ return dict(self.items()) == dict(other.items())
def __ne__(self, other):
- return set(self) != set(other)
+ return dict(self.items()) != dict(other.items())
class MappingView(metaclass=ABCMeta):