#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( len ( self ) != len ( b ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# for ( n , ( a , b ) ) in enumerate ( zip ( self , other ) ) : #NEWLINE# #INDENT# if ( self [ n ] == other [ n ] ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( n < self . numRequiredFields ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( bool ( a ) and bool ( b ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# #UNINDENT# return True