mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fix old not-reading-pep-308-right artifact.
This commit is contained in:
parent
15e62742fa
commit
aa8b6c5855
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ ast_for_ifexpr(struct compiling *c, const node *n)
|
||||||
/* test: or_test 'if' or_test 'else' test */
|
/* test: or_test 'if' or_test 'else' test */
|
||||||
expr_ty expression, body, orelse;
|
expr_ty expression, body, orelse;
|
||||||
|
|
||||||
assert(NCH(n) >= 3);
|
assert(NCH(n) == 5);
|
||||||
body = ast_for_expr(c, CHILD(n, 0));
|
body = ast_for_expr(c, CHILD(n, 0));
|
||||||
if (!body)
|
if (!body)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue