diff options
Diffstat (limited to '.emacs.d/snippets/python-mode/init_docstring')
| -rw-r--r-- | .emacs.d/snippets/python-mode/init_docstring | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/init_docstring b/.emacs.d/snippets/python-mode/init_docstring new file mode 100644 index 0000000..51af8db --- /dev/null +++ b/.emacs.d/snippets/python-mode/init_docstring | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: init_docstring | ||
| 3 | # key: id | ||
| 4 | # group : definitions | ||
| 5 | # -- | ||
| 6 | def __init__(self$1): | ||
| 7 | \"\"\"$2 | ||
| 8 | ${1:$(python-args-to-docstring)} | ||
| 9 | \"\"\" | ||
| 10 | $0 \ No newline at end of file | ||
