(signum, handler)
return rval
Install a new signal handler for ``signum``. Returns the old signal
    handler (``None`` when there is no previous handler.
Install a new signal handler for ``signum``. Returns the old signal
    handler (``None`` when there is no previous handler.
Install a new signal handler for signum . Returns the old signal handler ( None when there is no previous handler .
def signal(signum, handler):
    """
    Install a new signal handler for ``signum``. Returns the old signal
    handler (``None`` when there is no previous handler.
    """
    rval = getsignal(signum)
    _machsignals._signalmapping[signum] = handler
    _machsignals.handle_signal(signum)
    return rval
def signal ( signum , handler ) : rval = getsignal ( signum ) _machsignals . _signalmapping [ signum ] = handler _machsignals . handle_signal ( signum ) return rval