]> granicus.if.org Git - python/commit
closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the...
authorguoci <zguoci@gmail.com>
Tue, 11 Sep 2018 21:45:45 +0000 (17:45 -0400)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Sep 2018 21:45:45 +0000 (14:45 -0700)
commit90fc8980bbcc5c7dcced3627fe172b0bfd193a3b
treeb1039207f586747f6182a6940d3b835cbe104c7b
parent9c223794c754408644c16349b85dd27fdba8a926
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".
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