parameters: (display=1, logdir=None, context=5, format="html")
docstring: Install an exception handler that formats tracebacks as HTML.
  
      The optional argument 'display' can be set to 0 to suppress sending the
      traceback to the browser, and 'logdir' can be set to a directory to cause
      tracebacks to be written to files there.
docstring_summary: Install an exception handler that formats tracebacks as HTML.
docstring_tokens: Install an exception handler that formats tracebacks as HTML .
function: def enable(display=1, logdir=None, context=5, format="html"):
      """Install an exception handler that formats tracebacks as HTML.
  
      The optional argument 'display' can be set to 0 to suppress sending the
      traceback to the browser, and 'logdir' can be set to a directory to cause
      tracebacks to be written to files there."""
      sys.excepthook = Hook(display=display, logdir=logdir,
                            context=context, format=format)
function_tokens: def enable ( display = 1 , logdir = None , context = 5 , format = "html" ) : sys . excepthook = Hook ( display = display , logdir = logdir , context = context , format = format )