diff options
author | Thomas Wouters <thomas@python.org> | 2006-02-27 16:46:22 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-02-27 16:46:22 (GMT) |
commit | aa8b6c5855d0a619778fb3557073a5ca3458585b (patch) | |
tree | d5b36892a4ad9424751b936e813af63423712fc0 | |
parent | 15e62742fad688b026ba80bf17d1345c4cbd423b (diff) | |
download | cpython-aa8b6c5855d0a619778fb3557073a5ca3458585b.zip cpython-aa8b6c5855d0a619778fb3557073a5ca3458585b.tar.gz cpython-aa8b6c5855d0a619778fb3557073a5ca3458585b.tar.bz2 |
Fix old not-reading-pep-308-right artifact.
-rw-r--r-- | Python/ast.c | 2 |
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; |