view example/dictcomp.py @ 16:b21a246349f3

Add ast.DictComp
author Bastien Orivel <eijebong@bananium.fr>
date Thu, 02 Jun 2016 22:20:48 +0200
parents
children f1c77634a2eb
line wrap: on
line source

d = {key:  4 for key in imaginary_list if key % 12}