Lichen

tests/listcomp_bad.py

934:2989aab1b4f7
7 months ago Paul Boddie Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality.
     1 def f(l, y):     2     return [x for x in l if x > y]     3      4 result = f([1, 2, 3], 2)