bpo-39080: Starred Expression's column offset fix when inside a CALL (GH-17645)

Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
This commit is contained in:
Lysandros Nikolaou 2019-12-18 01:20:55 +01:00 committed by Pablo Galindo
parent a9d0a6a1b9
commit 50d4f12958
3 changed files with 11 additions and 1 deletions

View file

@ -3126,7 +3126,7 @@ ast_for_call(struct compiling *c, const node *n, expr_ty func,
return NULL;
starred = Starred(e, Load, LINENO(chch),
chch->n_col_offset,
chch->n_end_lineno, chch->n_end_col_offset,
e->end_lineno, e->end_col_offset,
c->c_arena);
if (!starred)
return NULL;