view example/dictcomp.py @ 24:199ba034e4af

Generate tests dynamically based on tests/test_parse_files/ content.
author Bastien Orivel <eijebong@bananium.fr>
date Fri, 03 Jun 2016 22:18:15 +0200
parents f1c77634a2eb
children
line wrap: on
line source

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