diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-27 07:40:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 07:40:29 (GMT) |
commit | b619b097923155a7034c05c4018bf06af9f994d0 (patch) | |
tree | a9f0f2a6c1b2ef8ceccd02f18612e43dd5689420 /PC/clinic | |
parent | d1cbc6f8a00cf881ced6238c5e652054e8fdc30f (diff) | |
download | cpython-b619b097923155a7034c05c4018bf06af9f994d0.zip cpython-b619b097923155a7034c05c4018bf06af9f994d0.tar.gz cpython-b619b097923155a7034c05c4018bf06af9f994d0.tar.bz2 |
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.
Diffstat (limited to 'PC/clinic')
0 files changed, 0 insertions, 0 deletions