getCallerFrame

lsst.pex.config.callStack.getCallerFrame(relative=0)

Get the frame for the user’s caller.

Parameters:
relativeint, optional

Number of frames (0 or more) above the caller to retrieve. Default is 0.

Returns:
frame__builtin__.Frame

Frame for the caller.

Notes

This function is excluded from the frame.