parameters: (frame, context=1)
return_statement: return framelist
docstring: Get a list of records for a frame and all higher (calling) frames.
  
      Each record contains a frame object, filename, line number, function
      name, a list of lines of context, and index within the context.
docstring_summary: Get a list of records for a frame and all higher (calling) frames.
docstring_tokens: Get a list of records for a frame and all higher ( calling ) frames .
function: def getouterframes(frame, context=1):
      """Get a list of records for a frame and all higher (calling) 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 frame:
          framelist.append((frame,) + getframeinfo(frame, context))
          frame = frame.f_back
      return framelist
function_tokens: def getouterframes ( frame , context = 1 ) : framelist = [ ] while frame : framelist . append ( ( frame , ) + getframeinfo ( frame , context ) ) frame = frame . f_back return framelist