def make_traceback(exc_info, source_hint=None):
 (exc_type, exc_value, tb) = exc_info
 if isinstance(exc_value, TemplateSyntaxError):
  exc_info = translate_syntax_error(exc_value, source_hint)
  initial_skip = 0
 else:
  initial_skip = 1
 return translate_exception(exc_info, initial_skip)

def make_traceback ( exc_info , source_hint = None ) : ( exc_type , exc_value , tb ) = exc_info if isinstance ( exc_value , TemplateSyntaxError ) : exc_info = translate_syntax_error ( exc_value , source_hint ) initial_skip = 0 else : initial_skip = 1 return translate_exception ( exc_info , initial_skip )
creates a processed traceback object from the exc_info .