]>
Commit | Line | Data |
---|---|---|
1 | # -*- mode: snippet -*- | |
2 | # name: class(parent): ... | |
3 | # key: class | |
4 | # group: Definitions | |
5 | # -- | |
6 | class ${1:ClassName}(${2:object}): | |
7 | """${3:Documentation for $1} | |
8 | ||
9 | """ | |
10 | def __init__(self${4:, args}): | |
11 | super($1, self).__init__($5) | |
12 | ${4:$(elpy-snippet-init-assignments yas-text)} | |
13 | $0 |