#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( not ( type ( other ) == type ( self ) ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return ( self . cells == other . cells )