commit | 373f0a718c359bc9e554ec323a9d71844ee76dfc | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon May 15 07:04:36 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon May 15 07:04:36 2006 +0000 |
tree | 8763012f5a09acd72e2bd8cfb9cee10bad527f7f | |
parent | 7a5fc28e81d3afddb534f92d79f0310b30831b27 [diff] [blame] |
- Bug #1487966: Fix SystemError with conditional expression in assignment Most of the test_syntax changes are just updating the numbers.
diff --git a/Python/ast.c b/Python/ast.c index 353514c..fafa253 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -401,6 +401,9 @@ 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)",