diff options
Diffstat (limited to '.emacs.d/snippets/python-mode/__getitem__')
| -rw-r--r-- | .emacs.d/snippets/python-mode/__getitem__ | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/__getitem__ b/.emacs.d/snippets/python-mode/__getitem__ new file mode 100644 index 0000000..939bd1a --- /dev/null +++ b/.emacs.d/snippets/python-mode/__getitem__ | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __getitem__ | ||
| 3 | # key: getit | ||
| 4 | # group: dunder methods | ||
| 5 | # -- | ||
| 6 | def __getitem__(self, ${1:key}): | ||
| 7 | $0 \ No newline at end of file | ||
