parameters: (self)
docstring: Clear input buffer, discarding all that is in the buffer.
docstring_summary: Clear input buffer, discarding all that is in the buffer.
docstring_tokens: Clear input buffer discarding all that is in the buffer .
function: 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()
function_tokens: 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 ( )