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

    if ismodule(pyObject): 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 ufora/ufora/packages/python/pyfora/PyforaInspect.py/getsourcelines