diff options
| author | Simeon Simeonov | 2024-01-10 21:49:17 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2024-01-10 21:49:17 +0100 |
| commit | ff160687915804b109fe626a5c7fbe949f227106 (patch) | |
| tree | 9838ea050edf4288234a16206aecef7c9825c62f /.emacs.d/snippets/python-mode/__repr__ | |
| parent | 7d08994f744685d6237ae3b4defde3eb2441fa42 (diff) | |
Update markdown-mode and yasnippet. Add some new Python snippets
Diffstat (limited to '.emacs.d/snippets/python-mode/__repr__')
| -rw-r--r-- | .emacs.d/snippets/python-mode/__repr__ | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/__repr__ b/.emacs.d/snippets/python-mode/__repr__ new file mode 100644 index 0000000..85cb80f --- /dev/null +++ b/.emacs.d/snippets/python-mode/__repr__ | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __repr__ | ||
| 3 | # key: _repr | ||
| 4 | # group: Special methods | ||
| 5 | # -- | ||
| 6 | def __repr__(self): | ||
| 7 | return $0 | ||
