未验证 提交 c40b98e0 编写于 作者: H Huihuang Zheng 提交者: GitHub

Fix comment (#31424)

Fix wrong code comment
上级 6bf02a12
......@@ -54,8 +54,8 @@ def create_while_nodes(condition_name, body_name, loop_var_names):
where a, b, c are in loop_var_names.
However, if loop_var_names contains attribute such as foo.x, we cannot
assign the attribute as output of convert_while_loop because Python
However, if loop_var_names contains property such as foo.x, we cannot
assign the property as output of convert_while_loop because Python
property is a kind of read-only attribute. To handle the case, we replace
the attributes which are output of convert_while_loop with generated
variables, then if we know the attribute is not read-only at runtime, we
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册