legacy-dotfiles/emacs/snippets/python-mode/defm_empty
Tom Willemsen a281f040cd Move .emacs.d to emacs
Since it's no longer placed directly in the home directory it doesn't
need to be named exacly the same.
2013-02-17 23:09:33 +01:00

7 lines
No EOL
238 B
Text

# -*- coding: utf-8 -*-
# name: Empty Defmethod
# key: defm
# --
def ${1:name}(self, *args, **kwargs):
'''$2'''
return super(${3:`(progn (re-search-backward "^[ \t]*class \\(.+\\)(") (match-string 1)))`}, self).$1(*args, **kwargs)