code: def __call__(self, signum, frame):
      installed_handler = signal.getsignal(signal.SIGINT)
      if installed_handler is not self:
          # if we aren't the installed handler, then delegate immediately
          # to the default handler
          self.default_handler(signum, frame)
  
      if self.called:
          self.default_handler(signum, frame)
      self.called = True
      for result in _results.keys():
          result.stop()
  
file_path: cpython/Lib/unittest/signals.py
imports: import signal
  import weakref
  from functools import wraps
label_desc: Use image node_id 2 for calling the _InterruptHandler obj's underlying member method code with example usage: obj.__call__(signum, frame) without return types