code: def readline(self, timeout=1):  # pylint: disable=unused-argument
          
          data = None
          if self.read_thread:
              # Ignore the timeout value, return imediately if no lines in queue
              data = self.read_thread.readline()
              if data and self.__print_io:
                  self.logger.info(data, extra={'type': '<--'})
          return data
docs: Readline implementation.
  
          :param timeout: Timeout, not used
          :return: Line read or None