diff Python/symtable.c @ 39694:da3a9f402886

Fix set literals not being visited in symtable creation.
author Georg Brandl <georg@python.org>
date Mon, 28 Aug 2006 16:38:22 +0000
parents f87a3e61853d
children c94f37054f19
line wrap: on
line diff
--- a/Python/symtable.c	Mon Aug 28 15:27:34 2006 +0000
+++ b/Python/symtable.c	Mon Aug 28 16:38:22 2006 +0000
@@ -1147,6 +1147,9 @@
 		VISIT_SEQ(st, expr, e->v.Dict.keys);
 		VISIT_SEQ(st, expr, e->v.Dict.values);
 		break;
+	case Set_kind:
+		VISIT_SEQ(st, expr, e->v.Set.elts);
+		break;
         case ListComp_kind:
 		if (!symtable_new_tmpname(st))
 			return 0;