commit | 40cf35c5b070b3f33aae58a996fea0e8291a8616 | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Fri Apr 03 21:02:26 2020 +0100 |
committer | GitHub <noreply@github.com> | Fri Apr 03 21:02:26 2020 +0100 |
tree | 918e88bd808ffeae9c43166276358c7075f68e55 | |
parent | 254ec783411d9d16e51f1116f98918be2ef0e884 [diff] [blame] |
bpo-40141: Include the value in the column position for keyword AST nodes (GH-19348)
diff --git a/Python/ast.c b/Python/ast.c index 6ba62fb..0f23f67 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -3096,7 +3096,7 @@ 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;