parameters: (etype, value)
return_statement: return list(TracebackException(etype, value, None).format_exception_only())
docstring: Format the exception part of a traceback.
  
      The arguments are the exception type and value such as given by
      sys.last_type and sys.last_value. The return value is a list of
      strings, each ending in a newline.
  
      Normally, the list contains a single string; however, for
      SyntaxError exceptions, it contains several lines that (when
      printed) display detailed information about where the syntax
      error occurred.
  
      The message indicating which exception occurred is always the last
      string in the list.
docstring_summary: Format the exception part of a traceback.
docstring_tokens: Format the exception part of a traceback .
function: def format_exception_only(etype, value):
      """Format the exception part of a traceback.
  
      The arguments are the exception type and value such as given by
      sys.last_type and sys.last_value. The return value is a list of
      strings, each ending in a newline.
  
      Normally, the list contains a single string; however, for
      SyntaxError exceptions, it contains several lines that (when
      printed) display detailed information about where the syntax
      error occurred.
  
      The message indicating which exception occurred is always the last
      string in the list.
  
      """
      return list(TracebackException(etype, value, None).format_exception_only())
function_tokens: def format_exception_only ( etype , value ) : return list ( TracebackException ( etype , value , None ) . format_exception_only ( ) )