view example/dictcomp.py @ 86:a7b1db623f41

Implement NameConstant correctly.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 22 Jun 2016 22:55:55 +0100
parents f1c77634a2eb
children
line wrap: on
line source

d = {key:  value for key, value in imaginary_dict.items() if key % 12}