

def SetAlpha(self, value):
    try:
        value = float(value)
    except ValueError:
        raise DialogException(('Alpha value %s is not a float.' % value))
    if ((value < 0) or (self > 1.0)):
        raise DialogException(('Alpha value %s is not between 0 and 1' % value))
    self._alpha = value

dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/cocoadialog.py Bubble.SetAlpha/VarMisuse@49/71 `value`->`self`