From 52318d6215f9f9626d38a9b81b52d411dbbdb36a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 6 Sep 2006 07:06:08 +0000 Subject: Patch #1550786: ellipsis literal. --- Python/symtable.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Python/symtable.c') diff --git a/Python/symtable.c b/Python/symtable.c index 81020a9ee9..8f19e0bd00 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -1161,6 +1161,7 @@ symtable_visit_expr(struct symtable *st, expr_ty e) break; case Num_kind: case Str_kind: + case Ellipsis_kind: /* Nothing to do here. */ break; /* The following exprs can be assignment targets. */ @@ -1365,8 +1366,6 @@ symtable_visit_slice(struct symtable *st, slice_ty s) case Index_kind: VISIT(st, expr, s->v.Index.value) break; - case Ellipsis_kind: - break; } return 1; } -- cgit v1.2.1