SIGN IN SIGN UP

bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633)

The lineno and col_offset attributes of AST nodes for list comprehensions,
generator expressions and tuples are now point to the opening parenthesis or
square brace. For tuples without parenthesis they point to the position
of the first item.
S
Serhiy Storchaka committed
b619b097923155a7034c05c4018bf06af9f994d0
Parent: d1cbc6f
Committed by GitHub <noreply@github.com> on 11/27/2018, 7:40:29 AM