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

7 lines
135 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: __setitem__
# key: setit
# group: dunder methods
# --
def __setitem__(self, ${1:key}, ${2:val}):
$0