(self)
od.__iter__() <==> iter(od)
od.__iter__() <==> iter(od)
od . __iter__ () < == > iter ( od )
def __iter__(self):
        'od.__iter__() <==> iter(od)'
        # Traverse the linked list in order.
        root = self.__root
        curr = root.next
        while curr is not root:
            yield curr.key
            curr = curr.next
def __iter__ ( self ) : # Traverse the linked list in order. root = self . __root curr = root . next while curr is not root : yield curr . key curr = curr . next