lotsa changes and inclusion of elpy
[emacs.git] / .emacs.d / elisp / yasnippet / snippets / python-mode / prop
1 # contributor: Mads D. Kristensen <madsdk@gmail.com>
2 # name: prop
3 # --
4 def ${1:foo}():
5 doc = """${2:Doc string}"""
6 def fget(self):
7 return self._$1
8
9 def fset(self, value):
10 self._$1 = value
11
12 def fdel(self):
13 del self._$1
14 return locals()
15 $1 = property(**$1())
16
17 $0