SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582)

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
L
Lysandros Nikolaou committed
025a602af7ee284d8db6955c26016f3f27d35536
Parent: 1988344
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> on 12/12/2019, 9:40:21 PM