Fix not finding a python function when the lineno is on the function definition