]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo (thanks Nick).
authorRaymond Hettinger <python@rcn.com>
Mon, 4 Feb 2008 22:09:30 +0000 (22:09 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 4 Feb 2008 22:09:30 +0000 (22:09 +0000)
Lib/_abcoll.py

index de6e6f8d1f2b1270219d96c1383ff3401f8095f9..9bcaae928c1c73dbdbbc0fb45c4e39c49f2ec94e 100644 (file)
@@ -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):