(tb, context=1)
return framelist
Get a list of records for a traceback's frame and all lower frames.

    Each record contains a frame object, filename, line number, function
    name, a list of lines of context, and index within the context.
Get a list of records for a traceback's frame and all lower frames.
Get a list of records for a traceback s frame and all lower frames .
def getinnerframes(tb, context=1):
    """Get a list of records for a traceback's frame and all lower frames.

    Each record contains a frame object, filename, line number, function
    name, a list of lines of context, and index within the context."""
    framelist = []
    while tb:
        framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
        tb = tb.tb_next
    return framelist
def getinnerframes ( tb , context = 1 ) : framelist = [ ] while tb : framelist . append ( ( tb . tb_frame , ) + getframeinfo ( tb , context ) ) tb = tb . tb_next return framelist