Files
dotfiles/emacs/.emacs.d/snippets/python-mode/function_docstring
TuDatTr 215bf58939 Trying out GNU stow
Signed-off-by: TuDatTr <tran.tuan-dat@mailbox.org>
2018-01-08 01:53:16 +01:00

11 lines
239 B
Plaintext

# -*- mode: snippet -*-
# name: function_docstring
# key: fd
# group: definitions
# NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings.
# --
def ${1:name}($2):
\"\"\"$3
${2:$(python-args-to-docstring)}
\"\"\"
$0