summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 3f2a9f3..27eabe5 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -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;