mirror of https://github.com/python/cpython
Fix old not-reading-pep-308-right artifact.
This commit is contained in:
parent
15e62742fa
commit
aa8b6c5855
|
@ -853,7 +853,7 @@ ast_for_ifexpr(struct compiling *c, const node *n)
|
|||
/* test: or_test 'if' or_test 'else' test */
|
||||
expr_ty expression, body, orelse;
|
||||
|
||||
assert(NCH(n) >= 3);
|
||||
assert(NCH(n) == 5);
|
||||
body = ast_for_expr(c, CHILD(n, 0));
|
||||
if (!body)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue