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[1]                                  # start at the first node
          while curr is not root:
              yield curr[2]                               # yield the curr[KEY]
              curr = curr[1]
function_tokens: def __iter__ ( self ) : # Traverse the linked list in order. root = self . __root curr = root [ 1 ] # start at the first node while curr is not root : yield curr [ 2 ] # yield the curr[KEY] curr = curr [ 1 ]