forked from M-Labs/artiq
AugAssign does not create a binding.
This commit is contained in:
parent
98fe152159
commit
a8ff9d0152
|
@ -35,11 +35,6 @@ class LocalExtractor(algorithm.Visitor):
|
|||
self.visit_in_assign(target)
|
||||
self.visit(node.value)
|
||||
|
||||
def visit_AugAssign(self, node):
|
||||
self.visit_in_assign(node.target)
|
||||
self.visit(node.op)
|
||||
self.visit(node.value)
|
||||
|
||||
def visit_For(self, node):
|
||||
self.visit_in_assign(node.target)
|
||||
self.visit(node.iter)
|
||||
|
|
Loading…
Reference in New Issue