def iter_function_lines(func_ea):
    for line in idautils.FuncItems(get_ea(func_ea)):
        yield Line(line)
Iterate the lines of a function.
dataset/ETHPy150Open tmr232/Sark/sark/code/function.py/iter_function_lines