dotfiles/.emacs.d/snippets/python-mode/method_docstring

10 lines
179 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: method_docstring
# key: md
# group: object oriented
# --
def ${1:name}(self$2):
\"\"\"$3
${2:$(python-args-to-docstring)}
\"\"\"
$0