view tests/test_parse_files/test_dictcomp.py @ 36:e61b332f92ee

Add a test for DictComp.
author Bastien Orivel <eijebong@bananium.fr>
date Sat, 04 Jun 2016 15:05:17 +0200
parents
children
line wrap: on
line source

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