my-emacs-d/elpa/yasnippet-20160924.2001/snippets/python-mode/__getitem__

7 lines
125 B
Plaintext
Raw Normal View History

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