def container(dec):
<EOL>@wraps(dec)<EOL>def meta_decorator(f):<EOL><INDENT>decorator = dec(f)<EOL>decorator.orig_func = f<EOL>return decorator<EOL><DEDENT>return meta_decorator<EOL>
Meta-decorator (for decorating decorators)

    Keeps around original decorated function as a property ``orig_func``

    :param dec: Decorator to decorate
    :type  dec: function
    :returns: Decorated decorator