python def without fold
This commit is contained in:
parent
577e5a2a49
commit
47ec0c6d2a
@ -32,19 +32,16 @@ snippet cl
|
|||||||
${6}
|
${6}
|
||||||
# New Function
|
# New Function
|
||||||
snippet def
|
snippet def
|
||||||
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):#{{{
|
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
|
||||||
"""${3:docstring for $1}"""
|
"""${3:docstring for $1}"""
|
||||||
${4:pass}
|
${4:pass}
|
||||||
#}}}
|
|
||||||
snippet deff
|
snippet deff
|
||||||
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):#{{{
|
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
|
||||||
${3}
|
${3}
|
||||||
#}}}
|
|
||||||
# New Method
|
# New Method
|
||||||
snippet defs
|
snippet defs
|
||||||
def ${1:mname}(self, ${2:arg}):#{{{
|
def ${1:mname}(self, ${2:arg}):
|
||||||
${3:pass}
|
${3:pass}
|
||||||
#}}}
|
|
||||||
# New Property
|
# New Property
|
||||||
snippet property
|
snippet property
|
||||||
def ${1:foo}():
|
def ${1:foo}():
|
||||||
|
Loading…
Reference in New Issue
Block a user