def __iter__(self, current=0):
    'Iterates over all entries in this Attribute\n\n        Returns data from one entry at a time until reaches the end.\n        @note: Returned in entry-number order.\n        '
    while (current <= self.max_idx()):
        if self.has_entry(current):
            value = (yield self._get_entry(current))
            if (value != None):
                current = value
        current += 1
Iterates over all entries in this Attribute

Returns data from one entry at a time until reaches the end.
@note: Returned in entry-number order.
def __iter__(self, current=0):
    'Iterates over all entries in this Attribute\n\n        Returns data from one entry at a time until reaches the end.\n        @note: Returned in entry-number order.\n        '
    while (current <= self.max_idx()):
        if self.has_entry(current):
            value = (yield self._get_entry(current))
            if (value != None):
                current = value
        current += 1