def put(self, values):
    if (not (type(values) in (list, tuple))):
        raise ValueError(('Wrong data type. Is %s, should be: %s.' % (type(values), list)))
    self.value = []
    for value in values:
        self.append(value)
def put(self, values):
    if (not (type(values) in (list, tuple))):
        raise ValueError(('Wrong data type. Is %s, should be: %s.' % (type(values), list)))
    self.value = []
    for value in values:
        self.append(value)