emacs-prelude/vendor/yasnippet/snippets/python-mode/propg

10 lines
189 B
Text
Raw Normal View History

2012-02-17 22:12:32 +02:00
# contributor: Julio Carlos Menendez <godinblack@gmail.com>
# name: _get_foo ... foo=property(...)
# key: propg
# --
def _get_${1:foo}(self):
return self._$1
$1 = property(_get_$1)
$0