comparison example/listcomp.py @ 14:719a27f1c1c7

Add ast.ListComp
author Bastien Orivel <eijebong@bananium.fr>
date Thu, 02 Jun 2016 20:40:24 +0200
parents
children
comparison
equal deleted inserted replaced
13:38b0d63697b1 14:719a27f1c1c7
1 l = [v for v in range(5) if v % 2]