From 3f22811fef73aec848d961593d95fa877f77ecbf Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 27 Sep 2018 17:42:37 +0300 Subject: bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445) --- Python/symtable.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Python/symtable.c') diff --git a/Python/symtable.c b/Python/symtable.c index e7216147a8a..16b706b3633 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -1461,11 +1461,6 @@ symtable_visit_expr(struct symtable *st, expr_ty e) VISIT_SEQ(st, expr, e->v.JoinedStr.values); break; case Constant_kind: - case Num_kind: - case Str_kind: - case Bytes_kind: - case Ellipsis_kind: - case NameConstant_kind: /* Nothing to do here. */ break; /* The following exprs can be assignment targets. */ -- cgit v1.2.3