mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Patch #1550786: ellipsis literal.
This commit is contained in:
parent
7cae87ca7b
commit
52318d6215
19 changed files with 140 additions and 141 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue