added __unicode__ python snippet
This commit is contained in:
parent
a8d936b0e8
commit
17b4633bdc
@ -2,6 +2,9 @@ snippet #!
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
snippet imp
|
snippet imp
|
||||||
import ${1:module}
|
import ${1:module}
|
||||||
|
snippet uni
|
||||||
|
def __unicode__(self):
|
||||||
|
${1:representation}
|
||||||
snippet from
|
snippet from
|
||||||
from ${1:package} import ${2:module}
|
from ${1:package} import ${2:module}
|
||||||
# Module Docstring
|
# Module Docstring
|
||||||
@ -13,6 +16,7 @@ snippet docs
|
|||||||
Github: `g:snips_github`
|
Github: `g:snips_github`
|
||||||
Description: ${2}
|
Description: ${2}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
snippet wh
|
snippet wh
|
||||||
while ${1:condition}:
|
while ${1:condition}:
|
||||||
${2}
|
${2}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user