Many updates, too many to count
commit messages are for code, not config I guess
This commit is contained in:
parent
23b179ad1d
commit
35c76e7098
24 changed files with 1533 additions and 427 deletions
15
snippets/python-mode/decorate
Normal file
15
snippets/python-mode/decorate
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# -*- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue