

def __getitem__(self, key):
    "\n        Returns the last data value for this key, or [] if it's an empty list;\n        raises KeyError if not found.\n        "
    try:
        list_ = dict.__getitem__(self, list_)
    except KeyError:
        raise MultiValueDictKeyError(('Key %r not found in %r' % (key, self)))
    try:
        return list_[(- 1)]
    except IndexError:
        return []

dataset/ETHPy150Open kdart/pycopia/aid/pycopia/dictlib.py MultiValueDict.__getitem__/VarMisuse@26/82 `key`->`list_`