def store_decorators(decorators):
    """Sets a list of decorators as the attribute `_decorators` on a
    function.

    This is for the purpose of applying decorators to a higher-level
    wrapping function.
    """
    def outer(fn):
        fn._decorators = decorators
        return fn
    return outer