about summary refs log tree commit diff
path: root/emacs/.emacs.d/snippets/python-mode/init
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/snippets/python-mode/init')
-rw-r--r--emacs/.emacs.d/snippets/python-mode/init6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/snippets/python-mode/init b/emacs/.emacs.d/snippets/python-mode/init
new file mode 100644
index 000000000000..5c407495f53a
--- /dev/null
+++ b/emacs/.emacs.d/snippets/python-mode/init
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: dunder init
+# key: ctor
+# --
+def __init__(self$1):
+    $2
\ No newline at end of file