human
I wrote the below code

    def decorator(func):
        old = {}
        def setup():
            for (k, v) in options.iteritems():
                old[k] = getattr(settings, k, None)
                setattr(settings, k, v)
        def teardown():
            for (k, v) in old.iteritems():
                setattr(settings, k, v)
        return with_setup(setup, teardown)(func)
    return decorator

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def with_config(**options):