def __init__(self, value = None, label = None, values = None):
        self.label = label

        if value:
            self.value = value
        elif values:
            warnings.warn("Option constructor accepts only single value now.", DeprecationWarning, stacklevel=1)
            self.value = values[0]
        else:
            raise TypeError("value argument to pyxmpp.dataforms.Option is required")
Initialize an `Option` object.
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/ext/dataforms.py/Option.__init__