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

    return wrapped

return wrap