def list7(x):
            """ Test use of closure in list comprehension """
            y = 3

            def inner(x):
                return x + y
            return [inner(z) for z in x]
 Test use of closure in list comprehension 
numba/tests/test_comprehension.py