cpython/Misc/NEWS.d/next/Core and Builtins/2018-02-24-00-07-05.bpo-329...

4 lines
185 B
ReStructuredText

Optimized iterating and containing test for literal lists consisting of
non-constants: ``x in [a, b]`` and ``for x in [a, b]``. The case of all
constant elements already was optimized.