Fix old not-reading-pep-308-right artifact.

This commit is contained in:
Thomas Wouters 2006-02-27 16:46:22 +00:00
parent 15e62742fa
commit aa8b6c5855
1 changed files with 1 additions and 1 deletions

View File

@ -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;