my-emacs-d/elpa/yasnippet-20160924.2001/snippets/python-mode/__getitem__
2016-10-20 10:27:10 +02:00

7 lines
125 B
Plaintext

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