#NEWLINE# def __iter__( self ) : #NEWLINE# #INDENT# 'od.__iter__() <==> iter(od)' #NEWLINE# root = self . __root #NEWLINE# curr = curr [ 1 ] #NEWLINE# while ( curr is not root ) : #NEWLINE# #INDENT# ( yield curr [ 2 ] ) #NEWLINE# curr = curr [ 1 ]