diff options
author | guoci <zguoci@gmail.com> | 2018-09-11 21:45:45 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-11 21:45:45 (GMT) |
commit | 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b (patch) | |
tree | b1039207f586747f6182a6940d3b835cbe104c7b /Misc/NEWS.d | |
parent | 9c223794c754408644c16349b85dd27fdba8a926 (diff) | |
download | cpython-90fc8980bbcc5c7dcced3627fe172b0bfd193a3b.zip cpython-90fc8980bbcc5c7dcced3627fe172b0bfd193a3b.tar.gz cpython-90fc8980bbcc5c7dcced3627fe172b0bfd193a3b.tar.bz2 |
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".
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-10-30-12-44-50.bpo-31902.a07fa57.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-10-30-12-44-50.bpo-31902.a07fa57.rst b/Misc/NEWS.d/next/Core and Builtins/2017-10-30-12-44-50.bpo-31902.a07fa57.rst new file mode 100644 index 0000000..e2b04b3 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-10-30-12-44-50.bpo-31902.a07fa57.rst @@ -0,0 +1,3 @@ +Fix the ``col_offset`` attribute for ast nodes ``ast.AsyncFor``, +``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, ``col_offset`` +pointed to the keyword after ``async``. |