We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0f6fdd + 68c0ff9 commit 7592a20Copy full SHA for 7592a20
python/asthelper.py
@@ -52,7 +52,7 @@ def __init__(self, instance_name):
52
def visit_Assign(self, node):
53
ac = AttributeCollector(self.instance_name)
54
for target in node.targets:
55
- ac.visit(node)
+ ac.visit(target)
56
self.attributes |= ac.data
57
58
0 commit comments