my-emacs-d/elpa/yasnippet-20161022.646/snippets/python-mode/function_docstring
2016-10-24 08:30:06 +02:00

10 lines
173 B
Plaintext

# -*- mode: snippet -*-
# name: function_docstring
# key: fd
# group: definitions
# --
def ${1:name}($2):
\"\"\"$3
${2:$(python-args-to-docstring)}
\"\"\"
$0