diff --git a/snippets/python.snippets b/snippets/python.snippets index af93a5b..48284ce 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -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...} @@ -29,9 +36,10 @@ snippet property def ${1:foo}(): doc = "${2:The $1 property.}" def fget(self): - ${3:return self._$1} + ${3:return self._$1} def fset(self, value): - + ${4:self._$1 = value} + # Self snippet . self.