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:
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to