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

4 lines
65 B
Python

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