From dd33a45cca4eb28b57b0e8dddfb4be618e4949f8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 19 Apr 2019 23:19:42 +0200 Subject: [PATCH] ENH: Also add python/method_docstring_numpy --- snippets/python-mode/method_docstring_numpy | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 snippets/python-mode/method_docstring_numpy diff --git a/snippets/python-mode/method_docstring_numpy b/snippets/python-mode/method_docstring_numpy new file mode 100644 index 0000000..75e27d1 --- /dev/null +++ b/snippets/python-mode/method_docstring_numpy @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# contributor: quazgar +# name: method_docstring_numpy +# key: mdn +# group: object oriented +# -- +def ${1:name}(self$2): + \"\"\"$3 + ${2:$(python-args-to-docstring-numpy)} + \"\"\" + $0 \ No newline at end of file