summaryrefslogtreecommitdiff
path: root/astroid/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/builder.py')
-rw-r--r--astroid/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/builder.py b/astroid/builder.py
index b870c5a6..2522ef01 100644
--- a/astroid/builder.py
+++ b/astroid/builder.py
@@ -83,7 +83,7 @@ def _can_assign_attr(node, attrname):
except NotImplementedError:
pass
else:
- if slots and attrname not in set(slot.value for slot in slots):
+ if slots and attrname not in {slot.value for slot in slots}:
return False
return True