Remove redundant code. test=develop (#24397)

release/2.0-alpha
liym27 5 years ago committed by GitHub
parent 2de5075a6d
commit f9a4f9f4c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -503,8 +503,6 @@ class IsControlFlowVisitor(gast.NodeVisitor):
def _visit_For(self, node):
assert isinstance(node, gast.For)
# TODO
# self.is_control_flow_num += 1
if not isinstance(node.iter, gast.Call):
return
if not isinstance(node.iter.func, gast.Name):

Loading…
Cancel
Save