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..b0572e3 --- /dev/null +++ b/.emacs.d/snippets/python-mode/str | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __str__ | ||
| 3 | # key: str | ||
| 4 | # group: dunder methods | ||
| 5 | # -- | ||
| 6 | def __str__(self): | ||
| 7 | $0 \ No newline at end of file | ||
