#NEWLINE# def __lt__( self , other ) : #NEWLINE# #INDENT# if ( not isinstance ( other , EdgeI ) ) : #NEWLINE# #INDENT# raise_unorderable_types ( '<' , self , other ) #NEWLINE# #UNINDENT# if ( self . __class__ is other . __class__ ) : #NEWLINE# #INDENT# return ( self . _comparison_key < other . _comparison_key ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( self . __class__ . __name__ < self . __class__ . __name__ )