diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-13 16:21:54 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-13 16:21:54 (GMT) |
commit | 3b18b17efcee6f968cf85c543254b3611311e9f4 (patch) | |
tree | adf70e6acf9f37279ff677635b7e49b91b801d75 /Python/importlib_zipimport.h | |
parent | b738237d6792acba85b1f6e6c8993a812c7fd815 (diff) | |
download | cpython-3b18b17efcee6f968cf85c543254b3611311e9f4.zip cpython-3b18b17efcee6f968cf85c543254b3611311e9f4.tar.gz cpython-3b18b17efcee6f968cf85c543254b3611311e9f4.tar.bz2 |
bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) (GH-17589)
When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.
https://bugs.python.org/issue39031
Automerge-Triggered-By: @pablogsal
(cherry picked from commit 025a602af7ee284d8db6955c26016f3f27d35536)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Diffstat (limited to 'Python/importlib_zipimport.h')
0 files changed, 0 insertions, 0 deletions