commit | 17ab9a02b53691d9968bcd1fa09560a9ffe3e514 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Aug 28 16:38:22 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Mon Aug 28 16:38:22 2006 +0000 |
tree | 09f94dc6c492fc0d42f7ecce6237974e052ab501 | |
parent | 86e58e239e39845e706c4afa392423f0fedcdf39 [diff] [blame] |
Fix set literals not being visited in symtable creation.
diff --git a/Python/symtable.c b/Python/symtable.c index bf15960..64eeb53 100644 --- a/Python/symtable.c +++ b/Python/symtable.c
@@ -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;