(self)
Clear input buffer, discarding all that is in the buffer.
Clear input buffer, discarding all that is in the buffer.
Clear input buffer discarding all that is in the buffer .
def flushInput(self):
        """Clear input buffer, discarding all that is in the buffer."""
        if not self._isOpen: raise portNotOpenError
        if self.logger:
            self.logger.info('flushInput()')
        self.buffer_lock.acquire()
        try:
            del self.loop_buffer[:]
        finally:
            self.buffer_lock.release()
def flushInput ( self ) : if not self . _isOpen : raise portNotOpenError if self . logger : self . logger . info ( 'flushInput()' ) self . buffer_lock . acquire ( ) try : del self . loop_buffer [ : ] finally : self . buffer_lock . release ( )