mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
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
Block a user