bpo-40141: Include the value in the column position for keyword AST nodes (GH-19348)

This commit is contained in:
Pablo Galindo 2020-04-03 21:02:26 +01:00 committed by GitHub
parent 254ec78341
commit 40cf35c5b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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;