(self)
Iterate over values in sorted order
Iterate over values in sorted order
Iterate over values in sorted order
def __iter__(self):
        'Iterate over values in sorted order'
        node = self.__head.next[0]
        while node:
            yield node.score, node.value
            node = node.next[0]
def __iter__ ( self ) : node = self . __head . next [ 0 ] while node : yield node . score , node . value node = node . next [ 0 ]