#NEWLINE# def _apply( self , other , method ) : #NEWLINE# #INDENT# if ( not isinstance ( other , self . __class__ ) ) : #NEWLINE# #INDENT# other = self . __class__ ( other ) #NEWLINE# #UNINDENT# newdata = method ( other . data ) #NEWLINE# newset = self . __class__ ( ) #NEWLINE# newset . data = newdata #NEWLINE# return newset