def whoisCallersCaller():
 import inspect
 frameObj = inspect.stack()[2][0]
 return inspect.getframeinfo(frameObj)

def whoisCallersCaller ( ) : import inspect frameObj = inspect . stack ( ) [ 2 ] [ 0 ] return inspect . getframeinfo ( frameObj )
returns: traceback namedtuple for our callers caller .