(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.
Install an exception handler that formats tracebacks as HTML.
Install an exception handler that formats tracebacks as HTML .
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)
def enable ( display = 1 , logdir = None , context = 5 , format = "html" ) : sys . excepthook = Hook ( display = display , logdir = logdir , context = context , format = format )