tvl-depot/users/grfn/emacs.d/snippets/python-mode/decorate
Griffin Smith 513a35b503 fix(grfn/emacs): Give all snippets a unique uuid
Change-Id: Iae2ce3783bc2632b265641e286b4145373c7a226
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8478
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2023-04-11 13:33:56 +00:00

15 lines
No EOL
251 B
Text

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