Searched refs:proposed_value (Results 1 – 1 of 1) sorted by relevance
101 def CheckValue(self, proposed_value): argument106 if not isinstance(proposed_value, self._acceptable_types):108 (proposed_value, type(proposed_value), self._acceptable_types))114 return self._acceptable_types[0](proposed_value)115 return proposed_value134 def CheckValue(self, proposed_value): argument135 if not isinstance(proposed_value, numbers.Integral):137 (proposed_value, type(proposed_value), six.integer_types))139 if not self._MIN <= int(proposed_value) <= self._MAX:140 raise ValueError('Value out of range: %d' % proposed_value)[all …]