code: def next_items(self, n):
          
          items = []
          while len(items) < n:
              if self._line_ptr >= len(self._line):
                  # Load the next line.
                  line = next(self._file).strip()
                  # Skip all comment and empty lines.
                  while not line or line[0] == "#":
                      line = next(self._file).strip()
                  self._line = self._re_delimiter.split(line)
                  self._line_ptr = 0
              n_read = min(n - len(items), len(self._line) - self._line_ptr)
              items.extend(self._line[self._line_ptr : self._line_ptr + n_read])
              self._line_ptr += n_read
          return items
docs: Returns the next n items.
  
          Throws StopIteration when there is not enough data to return n items.