diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-18 01:41:58 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-18 01:41:58 (GMT) |
commit | b1f204471092678dd89117e608fa041a9589d14c (patch) | |
tree | 74697f61aa155f5a67b297cca072f320c4c90cd8 /Python | |
parent | bf3aa1060a29a05813abbe877193af16e3e7131e (diff) | |
download | cpython-b1f204471092678dd89117e608fa041a9589d14c.zip cpython-b1f204471092678dd89117e608fa041a9589d14c.tar.gz cpython-b1f204471092678dd89117e608fa041a9589d14c.tar.bz2 |
[3.8] bpo-39080: Starred Expression's column offset fix when inside a CALL (GH-17645) (GH-17649)
…
Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
(cherry picked from commit 50d4f12958bf806a4e1a1021d70cfd5d448c5cba)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
https://bugs.python.org/issue39080
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 7081394..e70ab51 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; |