class documentation

class _Frame: (source)

View In Hierarchy

A fake frame object, used by _Traceback.
Method __init__
Instance Variable f​_back previous stack frame (towards the caller)
Instance Variable f​_builtins Undocumented
Instance Variable f​_code fake code object
Instance Variable f​_globals fake f_globals dictionary (usually empty)
Instance Variable f​_lasti Undocumented
Instance Variable f​_lineno line number
Instance Variable f​_locals fake f_locals dictionary (usually empty)
Instance Variable f​_trace Undocumented
def __init__(self, frameinfo, back): (source)
Parameters
frameinfo(methodname, filename, lineno, locals, globals)
back:frameprevious (older) stack frame
f_back = (source)
previous stack frame (towards the caller)
f_builtins = (source)

Undocumented

f_code = (source)
fake code object
f_globals = (source)
fake f_globals dictionary (usually empty)
f_lasti: int = (source)

Undocumented

f_lineno = (source)
line number
f_locals = (source)
fake f_locals dictionary (usually empty)
f_trace = (source)

Undocumented