view example/dictcomp.py @ 18:51ef651266b1

Fix expr_contexts. Do not always use Load, get the real context from the node.
author Bastien Orivel <eijebong@bananium.fr>
date Fri, 03 Jun 2016 00:10:41 +0200
parents f1c77634a2eb
children
line wrap: on
line source

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