summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode/classmethod
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/python-mode/classmethod')
-rw-r--r--.emacs.d/snippets/python-mode/classmethod10
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/classmethod b/.emacs.d/snippets/python-mode/classmethod
new file mode 100644
index 0000000..aa78440
--- /dev/null
+++ b/.emacs.d/snippets/python-mode/classmethod
@@ -0,0 +1,10 @@
1# -*- mode: snippet -*-
2# name: classmethod
3# key: cm
4# group: object oriented
5# --
6@classmethod
7def ${1:meth}(cls, $2):
8 """
9 """
10 $3 \ No newline at end of file