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/method_docstring | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .emacs.d/snippets/python-mode.statnett/method_docstring (limited to '.emacs.d/snippets/python-mode.statnett/method_docstring') diff --git a/.emacs.d/snippets/python-mode.statnett/method_docstring b/.emacs.d/snippets/python-mode.statnett/method_docstring new file mode 100644 index 0000000..8f5e78d --- /dev/null +++ b/.emacs.d/snippets/python-mode.statnett/method_docstring @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: method_docstring +# key: md +# group: object oriented +# -- +def ${1:name}(self$2): + \"\"\"$3 + ${2:$(python-args-to-docstring)} + \"\"\" + $0 \ No newline at end of file -- cgit v1.3