summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-11-27 09:40:29 +0200
committerGitHub <noreply@github.com>2018-11-27 09:40:29 +0200
commitb619b097923155a7034c05c4018bf06af9f994d0 (patch)
treea9f0f2a6c1b2ef8ceccd02f18612e43dd5689420 /Objects
parentd1cbc6f8a00cf881ced6238c5e652054e8fdc30f (diff)
downloadcpython-git-b619b097923155a7034c05c4018bf06af9f994d0.tar.gz
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 'Objects')
0 files changed, 0 insertions, 0 deletions