diff options
author | Georg Brandl <georg@python.org> | 2006-08-28 16:38:22 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-08-28 16:38:22 (GMT) |
commit | 17ab9a02b53691d9968bcd1fa09560a9ffe3e514 (patch) | |
tree | 09f94dc6c492fc0d42f7ecce6237974e052ab501 /Python/symtable.c | |
parent | 86e58e239e39845e706c4afa392423f0fedcdf39 (diff) | |
download | cpython-17ab9a02b53691d9968bcd1fa09560a9ffe3e514.zip cpython-17ab9a02b53691d9968bcd1fa09560a9ffe3e514.tar.gz cpython-17ab9a02b53691d9968bcd1fa09560a9ffe3e514.tar.bz2 |
Fix set literals not being visited in symtable creation.
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ symtable_visit_expr(struct symtable *st, expr_ty e) 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; |