parameters: (self)
docstring: od.__reversed__() <==> reversed(od)
docstring_summary: od.__reversed__() <==> reversed(od)
docstring_tokens: od . __reversed__ () < == > reversed ( od )
function: def __reversed__(self):
          'od.__reversed__() <==> reversed(od)'
          # Traverse the linked list in reverse order.
          PREV, KEY = 0, 2
          root = self.__root
          curr = root[PREV]
          while curr is not root:
              yield curr[KEY]
              curr = curr[PREV]
function_tokens: def __reversed__ ( self ) : # Traverse the linked list in reverse order. PREV , KEY = 0 , 2 root = self . __root curr = root [ PREV ] while curr is not root : yield curr [ KEY ] curr = curr [ PREV ]