view example/dictcomp.py @ 89:898876834564

Rename trait to respect CamelCase conventions.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 22 Jun 2016 23:10:21 +0100
parents f1c77634a2eb
children
line wrap: on
line source

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