def _get_call_line(in_verbose=False):
 back = (2 if (not in_verbose) else 4)
 call_frame = inspect.getouterframes(inspect.currentframe())[back][0]
 context = inspect.getframeinfo(call_frame).code_context
 context = ('unknown' if (context is None) else context[0].strip())
 return context

def _get_call_line ( in_verbose = False ) : back = ( 2 if ( not in_verbose ) else 4 ) call_frame = inspect . getouterframes ( inspect . currentframe ( ) ) [ back ] [ 0 ] context = inspect . getframeinfo ( call_frame ) . code_context context = ( 'unknown' if ( context is None ) else context [ 0 ] . strip ( ) ) return context
get the call line from within a function .