code: def set_in_bounds(self,obj,val):
          
          if not callable(val):
              bounded_val = self.crop_to_bounds(val)
          else:
              bounded_val = val
          super(Number,self).__set__(obj,bounded_val)
docs: Set to the given value, but cropped to be within the legal bounds.
          All objects are accepted, and no exceptions will be raised.  See
          crop_to_bounds for details on how cropping is done.