summaryrefslogblamecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/python-mode/propsg
blob: 73f16906700a271b044d81f07dd802235b669195 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                           
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
#name : _get_foo ... _set_foo ... foo=property(...)
# --
def _set_${1:foo}(self, value):
    self._$1 = value

def _get_$1(self):
    return self._$1

$1 = property(_get_$1, _set_$1)

$0