From 40cf35c5b070b3f33aae58a996fea0e8291a8616 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Fri, 3 Apr 2020 21:02:26 +0100 Subject: bpo-40141: Include the value in the column position for keyword AST nodes (GH-19348) --- Python/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/ast.c') diff --git a/Python/ast.c b/Python/ast.c index 6ba62fb479..0f23f6762d 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; -- cgit v1.2.1