From b34604233ad9e27c99975d8d3f77e633b2b3a866 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 4 Feb 2008 22:09:30 +0000 Subject: Fix typo (thanks Nick). --- Lib/_abcoll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py index de6e6f8..9bcaae9 100644 --- a/Lib/_abcoll.py +++ b/Lib/_abcoll.py @@ -382,7 +382,7 @@ class Mapping(metaclass=ABCMeta): return set(self) == set(other) def __ne__(self, other): - return set(self) == set(other) + return set(self) != set(other) class MappingView(metaclass=ABCMeta): -- cgit v0.12