restored yasnippet
This commit is contained in:
parent
ac01f235cc
commit
103dbcd8d0
573 changed files with 71124 additions and 0 deletions
13
vendor/yasnippet/snippets/python-mode/propsg
vendored
Normal file
13
vendor/yasnippet/snippets/python-mode/propsg
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
# contributor: Julio Carlos Menendez <godinblack@gmail.com>
|
||||
# name: _get_foo ... _set_foo ... foo=property(...)
|
||||
# key: propsg
|
||||
# --
|
||||
def _set_${1:foo}(self, value):
|
||||
self._$1 = value
|
||||
|
||||
def _get_$1(self):
|
||||
return self._$1
|
||||
|
||||
$1 = property(_get_$1, _set_$1)
|
||||
|
||||
$0
|
Loading…
Add table
Add a link
Reference in a new issue