my-emacs-d/elpa/yasnippet-20160924.2001/snippets/python-mode/init_docstring

10 lines
173 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: init_docstring
# key: id
# group : definitions
# --
def __init__(self$1):
\"\"\"$2
${1:$(python-args-to-docstring)}
\"\"\"
$0