def list8(x):
            """ Test use of list comprehension as arg to inner function """
            l = [z + 1 for z in x]

            def inner(x):
                return x[0] + 1
            q = inner(l)
            return q
 Test use of list comprehension as arg to inner function 
numba/tests/test_comprehension.py