original_docstring: Advance to next result (handles end cursor, ignores limit).
docstring: Advance to next result (handles end cursor, ignores limit).
docstring_tokens: Advance to next result ( handles end cursor ignores limit ) .
code: def _Advance(self):
      """Advance to next result (handles end cursor, ignores limit)."""
      if self.__done:
        raise StopIteration
      try:
        while True:
          self.__next_result = self.__results.next()
          if not self.group_by:
            break
          next_group = _GetGroupByKey(self.__next_result, self.group_by)
          if next_group not in self.__distincts:
            self.__distincts.add(next_group)
            break
      except StopIteration:
        self._Done()
      if (self.__end_cursor and
          not self._IsBeforeCursor(self.__next_result, self.__end_cursor)):
        self._Done()
code_tokens: def _Advance ( self ) : if self . __done : raise StopIteration try : while True : self . __next_result = self . __results . next ( ) if not self . group_by : break next_group = _GetGroupByKey ( self . __next_result , self . group_by ) if next_group not in self . __distincts : self . __distincts . add ( next_group ) break except StopIteration : self . _Done ( ) if ( self . __end_cursor and not self . _IsBeforeCursor ( self . __next_result , self . __end_cursor ) ) : self . _Done ( )
short_docstring: Advance to next result (handles end cursor, ignores limit).
short_docstring_tokens: Advance to next result ( handles end cursor ignores limit ) .
comment: """Advance to next result (handles end cursor, ignores limit)."""