import functools


def fancy(options="some_options"):
    """
    Fancy Decorator

    This is a slightly more complex decorator. Instead of taking
    the decorated function as input, it accepts some options and
    then returns a simple decorator like the one in the example above.
    This allows the behaviour of the decorator to be configurable.
    """

    def simple(func):
        @functools.wraps(func)
        def wrapper(*args, **kwargs):
            result = func(*args, **kwargs)
            return result

        return wrapper

    return simple