parameters: (self)
docstring: od.__iter__() <==> iter(od)
docstring_summary: od.__iter__() <==> iter(od)
docstring_tokens: od . __iter__ () < == > iter ( od )
function: 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
function_tokens: 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