human
Solve the following python programming problem given the following code:
@ contextlib.contextmanager 
def raising_signal(signum, exc) : 
    '
    Within the wrapped context, the given signal will interrupt signal
    calls and will raise the given exception class. The preexisting signal
    handling will be reinstated on context exit.
    ' 
    def raiser(signum, frames) : 
        raise exc () 
oldhandlr = signal.signal (exc, raiser) 
    try : 
        (yield) 
finally : 
        signal.signal (signum, oldhandlr) 

    
    

    Fix the buggy line: oldhandlr = signal.signal (exc, raiser)
assistant
#Here is Python program to fix the buggy line: oldhandlr = signal.

oldhandlr = signal.signal (signum, raiser)