Saiyang Gou <gousaiyang...@gmail.com> added the comment:
OK I didn't find this duplicate issue. After reading that, I think we should update the documentation (https://docs.python.org/3/reference/expressions.html). `comp_if ::= "if" expression_nocond [comp_iter]` can become `comp_if ::= "if" or_test [comp_iter]`, and all `nocond` stuffs can be removed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43755> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com