未验证 提交 f9a4f9f4 编写于 作者: L liym27 提交者: GitHub

Remove redundant code. test=develop (#24397)

上级 2de5075a
...@@ -503,8 +503,6 @@ class IsControlFlowVisitor(gast.NodeVisitor): ...@@ -503,8 +503,6 @@ class IsControlFlowVisitor(gast.NodeVisitor):
def _visit_For(self, node): def _visit_For(self, node):
assert isinstance(node, gast.For) assert isinstance(node, gast.For)
# TODO
# self.is_control_flow_num += 1
if not isinstance(node.iter, gast.Call): if not isinstance(node.iter, gast.Call):
return return
if not isinstance(node.iter.func, gast.Name): if not isinstance(node.iter.func, gast.Name):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册