view tests/test_parse_files/test_dictcomp.py @ 54:ad2453a55820

Refactor all Vec<T> -> Vec<String> functions into a single one.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 12 Jun 2016 02:17:23 +0100
parents e61b332f92ee
children
line wrap: on
line source

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