#NEWLINE# def __cmp__( self , other ) : #NEWLINE# #INDENT# if isinstance ( other , odict ) : #NEWLINE# #INDENT# return cmp ( self . items ( ) , other . items ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( self , dict ) : #NEWLINE# #INDENT# return dict . __cmp__ ( self , other ) #NEWLINE# #UNINDENT# #UNINDENT# return NotImplemented