def __setattr__(self, label, value):
        try:
            i = self.labels.index(label)
            self.rawBits[i] = int(bool(value))
            self.data[i] = self.oneLabel if bool(value) else self.zeroLabel
        except __HOLE__:
            self.__dict__[label] = value
dataset/ETHPy150Open LabPy/lantz/lantz/drivers/labjack/_internal/u12.py/BitField.__setattr__