def set_similarity_limit(self, value):
        ''' setter '''
        if isinstance(value, float) is False:
            raise TypeError("__similarity_limit must be float.")
        self.__similarity_limit = value
def set_similarity_limit ( self , value ) : if isinstance ( value , float ) is False : raise TypeError ( "__similarity_limit must be float." ) self . __similarity_limit = value
setter