original_docstring:  Returns last exception as a string, or use in logging.
      
docstring: Returns last exception as a string, or use in logging.
docstring_tokens: Returns last exception as a string or use in logging .
code: def last_exception():
      """ Returns last exception as a string, or use in logging.
      """
      exc_type, exc_value, exc_traceback = sys.exc_info()
      return ''.join(traceback.format_exception(exc_type, exc_value,
                                                exc_traceback))
code_tokens: def last_exception ( ) : exc_type , exc_value , exc_traceback = sys . exc_info ( ) return '' . join ( traceback . format_exception ( exc_type , exc_value , exc_traceback ) )
short_docstring: Returns last exception as a string, or use in logging.
short_docstring_tokens: Returns last exception as a string or use in logging .
comment: """ Returns last exception as a string, or use in logging.
      """