Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chriswarbo
· 5y ago · 0 comments
List comprehensions were changed in Python 3 to avoid this, so I don't think it's quite that simple.
Comments
[–]
_nosewings_
5y ago
In Python 3, list comprehensions use generators behind the scenes.