def handle_sigint(self, signum, frame):
        self.finish()
        self.original_handler(signum, frame)
Call self.finish() before delegating to the original SIGINT handler.
dataset/ETHPy150Open pypa/pip/pip/utils/ui.py/InterruptibleMixin.handle_sigint