def __setattr__(self, name, value):
            if not name in ("names", "value"):
                value, name = self.names.index(name), "value"
            object.__setattr__(self, name, value)
dataset/ETHPy150Open javgh/greenaddress-pos-tools/nfc/llcp/tco.py/TransmissionControlObject.State.__setattr__/original