human
Complete this python program:
def _turn_sigterm_into_systemexit():
assistant
#Here is the Python program you requested.

    """Attempts to turn a SIGTERM exception into a SystemExit exception.
    """
    try:
        import signal
    except ImportError:
        return
    def handle_term(signo, frame):
        raise SystemExit
    signal.signal(signal.SIGTERM, handle_term)