(self, signal)
return False
Handle non-trappable interrupts (before BASIC events).
Handle non-trappable interrupts (before BASIC events).
Handle non - trappable interrupts ( before BASIC events ) .
def _handle_non_trappable_interrupts(self, signal):
        """Handle non-trappable interrupts (before BASIC events)."""
        # process input events
        if signal.event_type == signals.QUIT:
            raise error.Exit()
        # exit pause mode on keyboard hit; swallow key
        elif signal.event_type in (signals.KEYB_DOWN, signals.STREAM_CHAR, signals.CLIP_PASTE):
            if self._pause:
                self._pause = False
                return True
        return False
def _handle_non_trappable_interrupts ( self , signal ) : # process input events if signal . event_type == signals . QUIT : raise error . Exit ( ) # exit pause mode on keyboard hit; swallow key elif signal . event_type in ( signals . KEYB_DOWN , signals . STREAM_CHAR , signals . CLIP_PASTE ) : if self . _pause : self . _pause = False return True return False