From aa8b6c5855d0a619778fb3557073a5ca3458585b Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Mon, 27 Feb 2006 16:46:22 +0000 Subject: Fix old not-reading-pep-308-right artifact. --- Python/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12