my-emacs-d/elpa/yasnippet-20160924.2001/snippets/python-mode/method_docstring
2016-10-20 10:27:10 +02:00

10 lines
179 B
Plaintext

# -*- mode: snippet -*-
# name: method_docstring
# key: md
# group: object oriented
# --
def ${1:name}(self$2):
\"\"\"$3
${2:$(python-args-to-docstring)}
\"\"\"
$0