fold para python def

This commit is contained in:
JuanPablo 2011-07-25 18:47:05 -04:00
parent e9a53cc99e
commit 9d03e71712

View File

@ -32,17 +32,17 @@ snippet cl
${6}
# New Function
snippet def
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):#{{{
"""${3:docstring for $1}"""
${4:pass}
#}}}
snippet deff
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):#{{{
${3}
#}}}
# New Method
snippet defs
def ${1:mname}(self, ${2:arg}):
def ${1:mname}(self, ${2:arg}):#{{{
${3:pass}
#}}}
# New Property