about summary refs log tree commit diff
path: root/users/grfn/emacs.d/snippets/python-mode/decorate
# -*- mode: snippet -*-
# name: decorate
# uuid: decorate
# key: decorate
# condition: t
# --
def wrap(inner):
    @wraps(inner)
    def wrapped(*args, **kwargs):
        ret = inner(*args, **kwargs)
        return ret

    return wrapped

return wrap