summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/python-mode/propg
blob: 63a9d98ceaa37d34de535939e1b992d78e1d6fdb (plain) (blame)
1
2
3
4
5
6
7
8
9
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
#name : _get_foo ... foo=property(...)
# --
def _get_${1:foo}(self):
    return self._$1

$1 = property(_get_$1)

$0