summaryrefslogtreecommitdiff
path: root/python-mode/init_docstring
diff options
context:
space:
mode:
Diffstat (limited to 'python-mode/init_docstring')
-rw-r--r--python-mode/init_docstring10
1 files changed, 10 insertions, 0 deletions
diff --git a/python-mode/init_docstring b/python-mode/init_docstring
new file mode 100644
index 0000000..51af8db
--- /dev/null
+++ b/python-mode/init_docstring
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+# name: init_docstring
+# key: id
+# group : definitions
+# --
+def __init__(self$1):
+ \"\"\"$2
+ ${1:$(python-args-to-docstring)}
+ \"\"\"
+ $0 \ No newline at end of file