def set_limits ( self , min_ = None , max_ = None ) : self . _min , self . _max = min_ , max_
python setting a max and min value
Sets limits for this config value
def set_limits(self, min_=None, max_=None):
        """
        Sets limits for this config value

        If the resulting integer is outside those limits, an exception will be raised

        :param min_: minima
        :param max_: maxima
        """
        self._min, self._max = min_, max_