2 ms·
List comprehensions were changed in Python 3 to avoid this, so I don't think it's quite that simple.
by chriswarbo 6y ago
List comprehensions were changed in Python 3 to avoid this, so I don't think it's quite that simple.
- _nosewings_ 6y agoIn Python 3, list comprehensions use generators behind the scenes.