- Bug #1487966: Fix SystemError with conditional expression in assignment

Most of the test_syntax changes are just updating the numbers.
This commit is contained in:
Neal Norwitz 2006-05-15 07:04:36 +00:00
parent 7a5fc28e81
commit 373f0a718c
4 changed files with 25 additions and 16 deletions

View file

@ -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)",