summaryrefslogtreecommitdiff
path: root/python-mode/init_docstring
diff options
context:
space:
mode:
authorAlberto Luaces Fernández <aluaces@udc.es>2015-05-13 19:45:06 +0100
committerAlberto Luaces Fernández <aluaces@udc.es>2015-05-13 19:45:06 +0100
commitf4123b269fe5af6d04d68a643d16fea9fa388e2d (patch)
tree4361a69e833eaa18c49cad6bf594c9cddfcc6f89 /python-mode/init_docstring
Import yasnippet-snippets_0~git20150512.orig.tar.gz
[dgit import orig yasnippet-snippets_0~git20150512.orig.tar.gz]
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