about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/snippets/python-mode/decorate
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/emacs.d/snippets/python-mode/decorate')
-rw-r--r--users/glittershark/emacs.d/snippets/python-mode/decorate15
1 files changed, 0 insertions, 15 deletions
diff --git a/users/glittershark/emacs.d/snippets/python-mode/decorate b/users/glittershark/emacs.d/snippets/python-mode/decorate
deleted file mode 100644
index 9448b45c9623..000000000000
--- a/users/glittershark/emacs.d/snippets/python-mode/decorate
+++ /dev/null
@@ -1,15 +0,0 @@
-# -*- 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
\ No newline at end of file