Files
python-uncompyle6/test/simple_source/comprehension/06_list_ifnot.py
2016-05-28 12:13:46 -04:00

6 lines
136 B
Python

# Test semantic handling of
# [x for x in names2 if not y]
# Bug seen in Python 3
names2 = []
names = [x for x in names2 if not len(x)]