(key, value=None)
Assign a value to (or reset) a configuration item.
Assign a value to (or reset) a configuration item.
Assign a value to ( or reset ) a configuration item .
def setup(key, value=None):
    """Assign a value to (or reset) a configuration item. """
    key = key.upper()

    if value is not None:
        _current_config[key] = value
    else:
        _current_config[key] = _default_config[key]
def setup ( key , value = None ) : key = key . upper ( ) if value is not None : _current_config [ key ] = value else : _current_config [ key ] = _default_config [ key ]