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

3 wiersze
53 B
Python

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