diff Python/ast.c @ 38181:ab704b99e150 legacy-trunk

- Bug #1487966: Fix SystemError with conditional expression in assignment Most of the test_syntax changes are just updating the numbers.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 15 May 2006 07:04:36 +0000
parents ce5585afc20f
children 26fb563881c9
line wrap: on
line diff
--- a/Python/ast.c	Mon May 15 06:48:14 2006 +0000
+++ b/Python/ast.c	Mon May 15 07:04:36 2006 +0000
@@ -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)",