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 azoft-dev-team/imagrium/env/Lib/inspect.py/stack