13 lines
311 B
Plaintext
13 lines
311 B
Plaintext
# -*- coding: utf-8 -*-
|
|
# Uses .yas-setup.el.
|
|
# name : derived class
|
|
# key : dcls
|
|
# expand-env: ((yas-indent-line 'fixed))
|
|
# --
|
|
class ${1:ClassName}(${2:object}):
|
|
"""${3:XXX}.${4:$(python-arguments-to-doc-string)}"""
|
|
|
|
def __init__(self, $4):
|
|
${4:$(python-arguments-to-self-init-string)}$0pass
|
|
|