#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return ( ( self . _ip == other . _ip ) and ( self . _version == other . _version ) ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# return NotImplemented