All pastes #828777 Raw Edit

Anonymous

public python v1 · immutable
#828777 ·published 2007-12-22 18:54 UTC
rendered paste body
def ListItemsIterator(self):    """A generator that yields a n-tuple with all items of a row."""    ncols = self.GetColumnCount()    for item in self.GetItemCount():        values = []        for col in range(ncols):            values.Append(self.GetItem(item, col))        yield values