def __init__(self, value):
    if isinstance(value, Token):
        value = value.value
    self.value = value
def __init__(self, value):
    if isinstance(value, Token):
        value = value.value
    self.value = value