commit | ee936a21308679654b2d458166ff094ed735fef7 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Sat Jan 09 23:35:54 2010 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Sat Jan 09 23:35:54 2010 +0000 |
tree | 612cd109e8ede4080f58f30ece3212d8e0f996d2 | |
parent | e36561352895170f28f77f0b4ec4292e35d1cc01 [diff] [blame] |
Issue #2335: Backport set literals syntax from Python 3.x.
diff --git a/Python/symtable.c b/Python/symtable.c index d782a19..5e735cc 100644 --- a/Python/symtable.c +++ b/Python/symtable.c
@@ -1211,6 +1211,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: VISIT(st, expr, e->v.ListComp.elt); VISIT_SEQ(st, comprehension, e->v.ListComp.generators);