human
I wrote the below code

    def shutdown(signal, frame):
        logger.warn('Received    signal    %s:    exiting', signal)
        sys.exit((128 + signal))
    signal.signal(signal.SIGHUP, shutdown)
    signal.signal(signal.SIGINT, shutdown)
    signal.signal(signal.SIGTERM, shutdown)

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

def exit_on_signal():