diff options
Diffstat (limited to '.emacs.d/snippets/python-mode/__str__')
| -rw-r--r-- | .emacs.d/snippets/python-mode/__str__ | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/__str__ b/.emacs.d/snippets/python-mode/__str__ new file mode 100644 index 0000000..f623df7 --- /dev/null +++ b/.emacs.d/snippets/python-mode/__str__ | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __str__ | ||
| 3 | # key: _str | ||
| 4 | # group: Special methods | ||
| 5 | # -- | ||
| 6 | def __str__(self): | ||
| 7 | return $0 | ||
