summaryrefslogtreecommitdiff
path: root/Python/ast.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-02-12 12:18:59 +0200
committerGitHub <noreply@github.com>2020-02-12 12:18:59 +0200
commit8c579b1cc86053473eb052b76327279476740c9b (patch)
treebc99d5f52e1330500216512d1064c2f341b64d89 /Python/ast.c
parent0cc6b5e559b8303b18fdd56c2befd900fe7b5e35 (diff)
downloadcpython-git-8c579b1cc86053473eb052b76327279476740c9b.tar.gz
bpo-32856: Optimize the assignment idiom in comprehensions. (GH-16814)
Now `for y in [expr]` in comprehensions is as fast as a simple assignment `y = expr`.
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions