about summary refs log blame commit diff
path: root/users/aspen/emacs.d/snippets/python-mode/decorate
blob: 4f96748572a2ba9f98b076fe63eb6a706ee6b11d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

                       
                











                                    
# -*- 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