couldn't forward-merge again the python-mode snippet directory, so just added the prop snippet again manually

This commit is contained in:
capitaomorte 2009-07-22 10:41:07 +00:00
parent 519c3514d2
commit 8a48811cec

View File

@ -0,0 +1,15 @@
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# name: prop
# --
def ${1:foo}():
doc = """${2:Doc string}"""
def fget(self):
return self._$1
def fset(self, value):
self._$1 = value
def fdel(self):
del self._$1
return locals()
$1 = property(**$1())
$0