environment/lib/python2.7/site-packages/IPython/frontend/html/notebook/notebookapp.py
def cleanup_kernels(self):
        """shutdown all kernels
        
        The kernels will shutdown themselves when this process no longer exists,
        but explicit shutdown allows the KernelManagers to cleanup the connection files.
        """
        self.log.info('Shutting down kernels')
        km = self.kernel_manager
        # copy list, since shutdown_kernel deletes keys
        for kid in list(km.kernel_ids):
            km.shutdown_kernel(kid)
def cleanup_kernels(self):
        """shutdown all kernels
        
        The kernels will shutdown themselves when this process no longer exists,
        but explicit shutdown allows the KernelManagers to cleanup the connection files.
        """
        self.log.info('Shutting down kernels')
        km = self.kernel_manager
        # copy list, since shutdown_kernel deletes keys
        for kid in list(km.kernel_ids):
            km.shutdown_kernel(kid)
def cleanup_kernels ( self ) : self . log . info ( 'Shutting down kernels' ) km = self . kernel_manager # copy list, since shutdown_kernel deletes keys for kid in list ( km . kernel_ids ) : km . shutdown_kernel ( kid )
shutdown all kernels
        
        The kernels will shutdown themselves when this process no longer exists,
        but explicit shutdown allows the KernelManagers to cleanup the connection files.
shutdown all kernels The kernels will shutdown themselves when this process no longer exists but explicit shutdown allows the KernelManagers to cleanup the connection files .