7 lines
125 B
Plaintext
7 lines
125 B
Plaintext
# -*- mode: snippet -*-
|
|
# name: __getitem__
|
|
# key: getit
|
|
# group: dunder methods
|
|
# --
|
|
def __getitem__(self, ${1:key}):
|
|
$0 |