def _compute_message_type(frame_tuple):
 (frame, _, line, func, _, _) = frame_tuple
 return u':'.join([getmodule(frame).__name__, func, unicode(line)])

def _compute_message_type ( frame_tuple ) : ( frame , _ , line , func , _ , _ ) = frame_tuple return u':' . join ( [ getmodule ( frame ) . __name__ , func , unicode ( line ) ] )
constructs a human readable message type from a frame of a traceback .