def __init__(self, min_value=None, max_value=None):
if min_value is not None:<EOL><INDENT>assert isinstance(min_value, numbers.Integral),'<STR_LIT>'<EOL>assert min_value >= self.minimum,'<STR_LIT>''<STR_LIT>' % (min_value, self.minimum)<EOL>self.minimum = min_value<EOL><DEDENT>if max_value is not None:<EOL><INDENT>assert isinstance(max_value, numbers.Integral),'<STR_LIT>'<EOL>assert max_value <= self.maximum,'<STR_LIT>''<STR_LIT>' % (max_value, self.maximum)<EOL>self.maximum = max_value<EOL><DEDENT>
A more restrictive minimum or maximum value can be specified than the
range inherent to the defined type.