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

3 lines
53 B
Python
Raw Normal View History

x = {a:None for a in l}
x = {b:c for c, b in l if c}