def internal_reset ( self ) : log . critical ( "PIA internal_reset()" ) self . empty_key_toggle = True self . current_input_char = None self . input_repead = 0
how to reset a input python
internal state reset . used e . g . in unittests
def internal_reset(self):
        """
        internal state reset.
        used e.g. in unittests
        """
        log.critical("PIA internal_reset()")
        self.empty_key_toggle = True
        self.current_input_char = None
        self.input_repead = 0