def __iter__(self):
    end = self.end
    curr = end[NEXT]
    while (curr is not end):
        (yield curr[KEY])
        curr = curr[NEXT]
def __iter__(self):
    end = self.end
    curr = end[NEXT]
    while (curr is not end):
        (yield curr[KEY])
        curr = curr[NEXT]