mirror of https://github.com/m-labs/artiq.git
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_in_assign(target)
|
||||||
self.visit(node.value)
|
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):
|
def visit_For(self, node):
|
||||||
self.visit_in_assign(node.target)
|
self.visit_in_assign(node.target)
|
||||||
self.visit(node.iter)
|
self.visit(node.iter)
|
||||||
|
|
Loading…
Reference in New Issue