未验证 提交 adb28d67 编写于 作者: 0 0x45f 提交者: GitHub

polish _remove_no_value_return_var() function (#36826)

上级 d118c8b7
......@@ -214,7 +214,7 @@ def convert_ifelse(pred, true_fn, false_fn, true_args, false_args, return_vars):
def _remove_no_value_return_var(out):
if out and isinstance(out, tuple):
if isinstance(out, tuple) and len(out) > 0:
processed_out = out
align_ret = out[0]
if isinstance(align_ret, tuple):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册