circuitpython/tests/bytecode/mp-tests/listcomp3.py

4 lines
65 B
Python
Raw Normal View History

x = (a + 1 for a in l if a.f())
x = [a + 1 for a in l if a.f()]