#NEWLINE# def __lt__( self , other ) : #NEWLINE# #INDENT# address_less = IPv4Address . __lt__ ( self , other ) #NEWLINE# if ( address_less is NotImplemented ) : #NEWLINE# #INDENT# return NotImplemented #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# return ( self . network < other . network ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# return False