view example/listcomp.py @ 86:a7b1db623f41

Implement NameConstant correctly.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 22 Jun 2016 22:55:55 +0100
parents 719a27f1c1c7
children
line wrap: on
line source

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