view tests/test_parse_files/test_listcomp.py @ 34:78ad2d1d2ca0

Add a test for ListComp.
author Bastien Orivel <eijebong@bananium.fr>
date Sat, 04 Jun 2016 01:35:51 +0200
parents
children
line wrap: on
line source

l = [v for v in range(5) if v % 2]