diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2019-12-18 00:20:55 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-18 00:20:55 (GMT) |
commit | 50d4f12958bf806a4e1a1021d70cfd5d448c5cba (patch) | |
tree | a72061a8d4f0137b6094d4fdd7a9575065289d8a /Python | |
parent | a9d0a6a1b932752873e04714c5dda707729078e4 (diff) | |
download | cpython-50d4f12958bf806a4e1a1021d70cfd5d448c5cba.zip cpython-50d4f12958bf806a4e1a1021d70cfd5d448c5cba.tar.gz cpython-50d4f12958bf806a4e1a1021d70cfd5d448c5cba.tar.bz2 |
bpo-39080: Starred Expression's column offset fix when inside a CALL (GH-17645)
Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c index c0d67a15..e4e9b83 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -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; |