Skip to content

Commit 69cc1c1

Browse files
authored
Merge pull request #313 from quazgar/patch-2
Create init_docstring_numpy
2 parents bb87d20 + dd33a45 commit 69cc1c1

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- mode: snippet -*-
2+
# contributor: quazgar
3+
# name: init_docstring_numpy
4+
# key: idn
5+
# group : definitions
6+
# --
7+
def __init__(self$1):
8+
\"\"\"$2
9+
${1:$(python-args-to-docstring-numpy)}
10+
\"\"\"
11+
$0
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- mode: snippet -*-
2+
# contributor: quazgar
3+
# name: method_docstring_numpy
4+
# key: mdn
5+
# group: object oriented
6+
# --
7+
def ${1:name}(self$2):
8+
\"\"\"$3
9+
${2:$(python-args-to-docstring-numpy)}
10+
\"\"\"
11+
$0

0 commit comments

Comments
 (0)