view tests/test_parse_files/test_dictcomp.py @ 55:32c78b275d5a

Implement comprehension’s to_string.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 12 Jun 2016 02:27:57 +0100
parents e61b332f92ee
children
line wrap: on
line source

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