def stack(context=1):
    return getouterframes(sys._getframe(1), context)
Return a list of records for the stack above the caller's frame.
dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py/stack