aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/ast.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-04-03 21:02:26 +0100
committerGitHub <noreply@github.com>2020-04-03 21:02:26 +0100
commit40cf35c5b070b3f33aae58a996fea0e8291a8616 (patch)
tree918e88bd808ffeae9c43166276358c7075f68e55 /Python/ast.c
parent254ec783411d9d16e51f1116f98918be2ef0e884 (diff)
downloadcpython-40cf35c5b070b3f33aae58a996fea0e8291a8616.tar.gz
cpython-40cf35c5b070b3f33aae58a996fea0e8291a8616.zip
bpo-40141: Include the value in the column position for keyword AST nodes (GH-19348)
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 6ba62fb479f..0f23f6762d8 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -3096,7 +3096,7 @@ ast_for_call(struct compiling *c, const node *n, expr_ty func,
if (!e)
return NULL;
kw = keyword(key, e, chch->n_lineno, chch->n_col_offset,
- chch->n_end_lineno, chch->n_end_col_offset, c->c_arena);
+ e->end_lineno, e->end_col_offset, c->c_arena);
if (!kw)
return NULL;