From 4996a6403108a226d4ff1d73b880207cc80284bd Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 12 Jan 2021 20:05:37 +0100 Subject: Add snippets/python-mode.statnett --- .emacs.d/snippets/python-mode.statnett/init_docstring | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .emacs.d/snippets/python-mode.statnett/init_docstring (limited to '.emacs.d/snippets/python-mode.statnett/init_docstring') diff --git a/.emacs.d/snippets/python-mode.statnett/init_docstring b/.emacs.d/snippets/python-mode.statnett/init_docstring new file mode 100644 index 0000000..51af8db --- /dev/null +++ b/.emacs.d/snippets/python-mode.statnett/init_docstring @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: init_docstring +# key: id +# group : definitions +# -- +def __init__(self$1): + \"\"\"$2 + ${1:$(python-args-to-docstring)} + \"\"\" + $0 \ No newline at end of file -- cgit v1.3