From 373f0a718c359bc9e554ec323a9d71844ee76dfc Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 15 May 2006 07:04:36 +0000 Subject: - Bug #1487966: Fix SystemError with conditional expression in assignment Most of the test_syntax changes are just updating the numbers. --- Python/ast.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Python') diff --git a/Python/ast.c b/Python/ast.c index 353514c8c6..fafa25310b 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -401,6 +401,9 @@ set_context(expr_ty e, expr_context_ty ctx, const node *n) case Repr_kind: expr_name = "repr"; break; + case IfExp_kind: + expr_name = "conditional expression"; + break; default: PyErr_Format(PyExc_SystemError, "unexpected expression in assignment %d (line %d)", -- cgit v1.2.1