my-emacs-d/elpa/yasnippet-20161022.646/snippets/python-mode/__getitem__
2016-10-24 08:30:06 +02:00

7 lines
125 B
Plaintext

# -*- mode: snippet -*-
# name: __getitem__
# key: getit
# group: dunder methods
# --
def __getitem__(self, ${1:key}):
$0