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

3 lines
53 B
Python

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