#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( not isinstance ( other , LocationGenerator ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return ( other . mod3 == other . mod3 )