desfrenes/dictshield — comment on commit fead7b4cac3e7bd99d3d482e08dc05710985e963
File:  line 0
By j2labs:

I think could be more concisely written like:

def __set__(self, instance, value):
if value != None and not isinstance(value, self.number_class):
if self.number_class:
value = number_class(value)
instance._data[self.field_name] = value

I'd like to have your contribution in the history though. Would you mind updating your pull request?