mirror of https://github.com/python/cpython
Browse Source
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.pull/14659/head
committed by
Ivan Levkivskyi
4 changed files with 34 additions and 1 deletions
Loading…
Reference in new issue