[Python-3000-checkins] r55254 - python/branches/p3yk/Python/ast.c

georg.brandl python-3000-checkins at python.org
Fri May 11 12:11:02 CEST 2007


Author: georg.brandl
Date: Fri May 11 12:11:01 2007
New Revision: 55254

Modified:
   python/branches/p3yk/Python/ast.c
Log:
Add a case for set comprehensions to the "cannot assign to" switch.


Modified: python/branches/p3yk/Python/ast.c
==============================================================================
--- python/branches/p3yk/Python/ast.c	(original)
+++ python/branches/p3yk/Python/ast.c	Fri May 11 12:11:01 2007
@@ -392,6 +392,9 @@
         case ListComp_kind:
             expr_name = "list comprehension";
             break;
+        case SetComp_kind:
+            expr_name = "set comprehension";
+            break;
         case Dict_kind:
         case Set_kind:
         case Num_kind:


More information about the Python-3000-checkins mailing list