summaryrefslogtreecommitdiffstats
path: root/Lib/sets.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sets.py')
-rw-r--r--Lib/sets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/sets.py b/Lib/sets.py
index bf3ff4d..4665373 100644
--- a/Lib/sets.py
+++ b/Lib/sets.py
@@ -223,9 +223,10 @@ class BaseSet(object):
return NotImplemented
result = self.__class__()
data = result._data
+ otherdata = other._data
value = True
for elt in self:
- if elt not in other:
+ if elt not in otherdata:
data[elt] = value
return result