def UnwrapPyTree(tree):
 unwrapper = PyTreeUnwrapper()
 unwrapper.Visit(tree)
 uwlines = unwrapper.GetUnwrappedLines()
 uwlines.sort(key=(lambda x: x.lineno))
 return uwlines

def UnwrapPyTree ( tree ) : unwrapper = PyTreeUnwrapper ( ) unwrapper . Visit ( tree ) uwlines = unwrapper . GetUnwrappedLines ( ) uwlines . sort ( key = ( lambda x : x . lineno ) ) return uwlines
create and return a list of unwrapped lines from the given pytree .