commit | 110a47c4f42cf4db88edc1876899fff8f05190fb | [log] [tgz] |
---|---|---|
author | Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | Mon Jul 08 23:17:56 2019 +0200 |
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | Mon Jul 08 22:17:56 2019 +0100 |
tree | b649c1aa3583487925f65e2c4bcec5d71bb54f24 | |
parent | 66b4150f6f001640521ae6c9571cd4325cd67394 [diff] |
bpo-18374: fix wrong col_offset of some ast.BinOp instances (GH-14607) Nested BinOp instances (e.g. a+b+c) had a wrong col_offset for the second BinOp (e.g. 2 instead of 0 in the example). Fix it by using the correct st node to copy the line and col_offset from in ast.c.