Fixed rwprop now... maybe
This commit is contained in:
parent
ebc685232e
commit
9292919205
@ -47,13 +47,13 @@ def ${1:property}(self):
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet rwprop "Read write property" b
|
snippet rwprop "Read write property" b
|
||||||
def ${1:property}(self):
|
def ${1:property}():
|
||||||
${2/.+/(?0:""")/}${2:The RW property $1}${2/.+/(?0:"""\n )/}def fget(self):
|
${2/.+/(?0:""")/}${2:The RW property $1}${2/.+/(?0:"""\n )/}def fget(self):
|
||||||
return self._$1$0
|
return self._$1$0
|
||||||
def fset(self, value):
|
def fset(self, value):
|
||||||
self._$1 = value
|
self._$1 = value
|
||||||
return locals()
|
return locals()
|
||||||
$1 = property(**$1)
|
$1 = property(**$1())
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
|
Loading…
Reference in New Issue
Block a user