view example/dictcomp.py @ 59:407b3b217928

Add ast.With.
author Bastien Orivel <eijebong@bananium.fr>
date Sun, 12 Jun 2016 20:14:27 +0200
parents f1c77634a2eb
children
line wrap: on
line source

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