environment/lib/python2.7/site-packages/IPython/frontend/html/notebook/notebookapp.py
def _handle_sigint(self, sig, frame):
        """SIGINT handler spawns confirmation dialog"""
        # register more forceful signal handler for ^C^C case
        signal.signal(signal.SIGINT, self._signal_stop)
        # request confirmation dialog in bg thread, to avoid
        # blocking the App
        thread = threading.Thread(target=self._confirm_exit)
        thread.daemon = True
        thread.start()
def _handle_sigint(self, sig, frame):
        # register more forceful signal handler for ^C^C case
        signal.signal(signal.SIGINT, self._signal_stop)
        # request confirmation dialog in bg thread, to avoid
        # blocking the App
        thread = threading.Thread(target=self._confirm_exit)
        thread.daemon = True
        thread.start()
def _handle_sigint ( self , sig , frame ) : # register more forceful signal handler for ^C^C case signal . signal ( signal . SIGINT , self . _signal_stop ) # request confirmation dialog in bg thread, to avoid # blocking the App thread = threading . Thread ( target = self . _confirm_exit ) thread . daemon = True thread . start ( )
SIGINT handler spawns confirmation dialog
SIGINT handler spawns confirmation dialog