def getsourcelines(object):
 (lines, lnum) = findsource(object)
 if ismodule(object):
  return (lines, 0)
 else:
  return (getblock(lines[lnum:]), (lnum + 1))

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 .