1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-19 20:38:05 +01:00

fixed "property" Python snippet

This commit is contained in:
Michael Sanders
2009-05-08 16:00:46 -04:00
parent fb41ba4a19
commit 27e6362cdd

View File

@@ -1,6 +1,13 @@
snippet #!
#!/usr/bin/python
# Module Docstring
snippet docs
'''
File: ${1:`Filename('$1.py', 'foo.py')`}
Author: ${2:`g:snips_author`}
Description: ${3}
'''
snippet wh
while ${1:condition}:
${2:# code...}
@@ -31,6 +38,7 @@ snippet property
def fget(self):
${3:return self._$1}
def fset(self, value):
${4:self._$1 = value}
# Self
snippet .