parameters: (exc_info, source_hint=None)
return_statement: return translate_exception(exc_info, initial_skip)
docstring: Creates a processed traceback object from the exc_info.
docstring_summary: Creates a processed traceback object from the exc_info.
docstring_tokens: Creates a processed traceback object from the exc_info .
function: def make_traceback(exc_info, source_hint=None):
      """Creates a processed traceback object from the exc_info."""
      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)
function_tokens: 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 )