Lichen

tests/listcomp.py

279:22aea7bc1acd
2016-11-29 Paul Boddie Moved __contains__ to the sequence module, providing an implementation. Added tests of "in", "not in" and operator syntax.
     1 def f(l, y):     2     return [x for x in l if x > y]     3      4 result = f([1, 2, 3], 2)