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