Skip to content

Commit 17b4633

Browse files
committed
added __unicode__ python snippet
1 parent a8d936b commit 17b4633

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

snippets/python.snippets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ snippet #!
22
#!/usr/bin/env python
33
snippet imp
44
import ${1:module}
5+
snippet uni
6+
def __unicode__(self):
7+
${1:representation}
58
snippet from
69
from ${1:package} import ${2:module}
710
# Module Docstring
@@ -13,6 +16,7 @@ snippet docs
1316
Github: `g:snips_github`
1417
Description: ${2}
1518
"""
19+
1620
snippet wh
1721
while ${1:condition}:
1822
${2}

0 commit comments

Comments
 (0)