dotfiles/.emacs.d/snippets/python-mode/__getitem__

7 lines
125 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: __getitem__
# key: getit
# group: dunder methods
# --
def __getitem__(self, ${1:key}):
$0