summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-02-27 16:46:22 (GMT)
committerThomas Wouters <thomas@python.org>2006-02-27 16:46:22 (GMT)
commitaa8b6c5855d0a619778fb3557073a5ca3458585b (patch)
treed5b36892a4ad9424751b936e813af63423712fc0
parent15e62742fad688b026ba80bf17d1345c4cbd423b (diff)
downloadcpython-aa8b6c5855d0a619778fb3557073a5ca3458585b.zip
cpython-aa8b6c5855d0a619778fb3557073a5ca3458585b.tar.gz
cpython-aa8b6c5855d0a619778fb3557073a5ca3458585b.tar.bz2
Fix old not-reading-pep-308-right artifact.
-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;