(option, value)
return lower, value
Generic validation function.
Generic validation function.
Generic validation function .
def validate(option, value):
    """Generic validation function.
    """
    lower = option.lower()
    validator = VALIDATORS.get(lower, raise_config_error)
    value = validator(option, value)
    return lower, value
def validate ( option , value ) : lower = option . lower ( ) validator = VALIDATORS . get ( lower , raise_config_error ) value = validator ( option , value ) return lower , value