

def __init__(self, title, description, get_current_value, get_values):
    assert isinstance(title, six.text_type)
    assert isinstance(description, six.text_type)
    assert callable(get_current_value)
    assert callable(get_values)
    self.title = title
    self.description = description
    self.get_current_value = get_current_value
    self.get_values = get_values

dataset/ETHPy150Open jonathanslenders/ptpython/ptpython/python_input.py Option.__init__/original