]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Sep 2018 22:21:11 +0000 (15:21 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Sep 2018 22:21:11 +0000 (15:21 -0700)
commitd8bc7a666b1309aa5669980e35e7429071f3f7d3
tree2f2d516a0f722a05a6322b13bb4d83b3a85aad7e
parente2b40f4ce954ea3d35a73541029b2253abd9d245
closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175)

Previously, col_offset points to the keyword after "async".
(cherry picked from commit 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b)

Co-authored-by: guoci <zguoci@gmail.com>
Lib/test/test_ast.py
Misc/NEWS.d/next/Core and Builtins/2017-10-30-12-44-50.bpo-31902.a07fa57.rst [new file with mode: 0644]
Python/ast.c