PyDocs

Nav

Python Runtime Services

getinnerframes

inspect

function (source)
  • getinnerframes(traceback, 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.
Changed in 3.5, 3.11
  • 3.5: A list of named tuples FrameInfo(frame, filename, lineno, function, code_context, index) is returned.
  • 3.11: A list of FrameInfo objects is returned.
0 Examples
No examples for inspect/getinnerframes.
See Also
No see-alsos for inspect/getinnerframes
0 Notes
No notes for getinnerframes