parameters: (signal_num, cur_stack_frame)
docstring: Global signal handler.
  
    When a signal is caught we execute each registered handler for that signal.
  
    Args:
      signal_num: Signal that was caught.
      cur_stack_frame: Unused.
docstring_summary: Global signal handler.
docstring_tokens: Global signal handler .
function: def _SignalHandler(signal_num, cur_stack_frame):
    """Global signal handler.
  
    When a signal is caught we execute each registered handler for that signal.
  
    Args:
      signal_num: Signal that was caught.
      cur_stack_frame: Unused.
    """
    if signal_num in _non_final_signal_handlers:
      for handler in _non_final_signal_handlers[signal_num]:
        handler(signal_num, cur_stack_frame)
    if signal_num in _final_signal_handlers:
      _final_signal_handlers[signal_num](signal_num, cur_stack_frame)
function_tokens: def _SignalHandler ( signal_num , cur_stack_frame ) : if signal_num in _non_final_signal_handlers : for handler in _non_final_signal_handlers [ signal_num ] : handler ( signal_num , cur_stack_frame ) if signal_num in _final_signal_handlers : _final_signal_handlers [ signal_num ] ( signal_num , cur_stack_frame )