Retrieve the call stack for the caller.
Parameters
----------
skip : `int`, non-negative
Number of stack frames above caller to skip.
Returns
-------
output : `list` of `StackFrame`
The call stack. The `list` is ordered with the most recent frame to
last.
Notes
-----
This function is excluded from the call stack.
Definition at line 175 of file callStack.py.
176 """Retrieve the call stack for the caller.
180 skip : `int`, non-negative
181 Number of stack frames above caller to skip.
185 output : `list` of `StackFrame`
186 The call stack. The `list` is ordered with the most recent frame to
191 This function is excluded from the call stack.
196 stack.append(StackFrame.fromFrame(frame))
198 return list(reversed(stack))