comparison example/dictcomp.py @ 17:f1c77634a2eb

Add ast.Tuple
author Bastien Orivel <eijebong@bananium.fr>
date Thu, 02 Jun 2016 23:47:54 +0200
parents b21a246349f3
children
comparison
equal deleted inserted replaced
16:b21a246349f3 17:f1c77634a2eb
1 d = {key: 4 for key in imaginary_list if key % 12} 1 d = {key: value for key, value in imaginary_dict.items() if key % 12}