human
Complete this python program:
def action(name, text, confirmation=None):
assistant
#Here is the Python program you requested.

    """Use this decorator to expose actions that span more than one
    entity (model, file, etc)
    :param name:
    Action name
    :param text:
    Action text.
    :param confirmation:
    Confirmation text. If not provided, action will be executed
    unconditionally.
    """
    def wrap(f):
        f._action = (name, text, confirmation)
        return f
    return wrap