AugAssign does not create a binding.

This commit is contained in:
whitequark 2015-06-06 17:55:04 +03:00
parent 98fe152159
commit a8ff9d0152

View File

@ -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)