]> code.delx.au - gnu-emacs-elpa/blob - packages/yasnippet/snippets/python-mode/propg
Add 'packages/html5-schema/' from commit '6e7c7c331e7f6692be6c7d39fb9485792f0d3513'
[gnu-emacs-elpa] / packages / yasnippet / snippets / python-mode / propg
1 # contributor: Julio Carlos Menendez <godinblack@gmail.com>
2 # name: _get_foo ... foo=property(...)
3 # key: propg
4 # --
5 def _get_${1:foo}(self):
6 return self._$1
7
8 $1 = property(_get_$1)
9
10 $0