human
I wrote the below code

    oldhook = sys.excepthook
    def newhook(exctype, value, traceback):
        if (exctype == KeyboardInterrupt):
            log('\nInterrupted.\n')
        else:
            return oldhook(exctype, value, traceback)
    sys.excepthook = newhook

What's a good function header?
assistant
#Here's a good function header.

def handle_ctrl_c():