def getsourcelines(object):
    lines, lnum = findsource(object)

    if ismodule(object): return lines, 0
    else: return getblock(lines[lnum:]), lnum + 1
Return a list of source lines and starting line number for an object.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/getsourcelines