Mercurial > hg > dotemacs
view elpa/elpy-1.12.0/snippets/python-mode/class @ 152:55ceabc58fcc
elpy: upgrade to 1.12
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Fri, 14 Oct 2016 10:57:18 -0400 (2016-10-14) |
parents | elpa/elpy-1.8.0/snippets/python-mode/class@29cff77e2387 |
children |
line wrap: on
line source
# -*- mode: snippet -*- # name: class(parent): ... # key: class # group: Definitions # -- class ${1:ClassName}(${2:object}): """${3:Documentation for $1} """ def __init__(self${4:, args}): super($1, self).__init__($5) ${4:$(elpy-snippet-init-assignments yas-text)} $0