diff options
Diffstat (limited to '.emacs.d/snippets/python-mode/function_docstring')
| -rw-r--r-- | .emacs.d/snippets/python-mode/function_docstring | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.emacs.d/snippets/python-mode/function_docstring b/.emacs.d/snippets/python-mode/function_docstring index f372d26..685eaf5 100644 --- a/.emacs.d/snippets/python-mode/function_docstring +++ b/.emacs.d/snippets/python-mode/function_docstring | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings. | 5 | # NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings. |
| 6 | # -- | 6 | # -- |
| 7 | def ${1:name}($2): | 7 | def ${1:name}($2): |
| 8 | \"\"\"$3 | 8 | \"\"\"$3 |
| 9 | ${2:$(python-args-to-docstring)} | 9 | ${2:$(python-args-to-docstring)} |
| 10 | \"\"\" | 10 | \"\"\" |
| 11 | $0 \ No newline at end of file | 11 | $0 \ No newline at end of file |
