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

10 lines
173 B
Plaintext

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