diff options
| author | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-13 14:04:14 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-13 14:04:14 (GMT) |
| commit | 0ed45d0cbfc7579dfc5527c19aa6e4bb696db2e0 (patch) | |
| tree | 03210e72a176e9cc3d1f60c6800511f7f1dc642c /Lib/idlelib/idle_test/test_replace.py | |
| parent | 85924a45b7428255cc52c84bd44823db61798a54 (diff) | |
| download | cpython-0ed45d0cbfc7579dfc5527c19aa6e4bb696db2e0.zip cpython-0ed45d0cbfc7579dfc5527c19aa6e4bb696db2e0.tar.gz cpython-0ed45d0cbfc7579dfc5527c19aa6e4bb696db2e0.tar.bz2 | |
[3.7] bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) (#17584)
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 'Lib/idlelib/idle_test/test_replace.py')
0 files changed, 0 insertions, 0 deletions
