def __getitem__(self, key):
        """
        Returns the last data value for this key, or [] if it's an empty list;
        raises KeyError if not found.
        """
        try:
            list_ = dict.__getitem__(self, key)
        except __HOLE__:
            raise MultiValueDictKeyError, "Key %r not found in %r" % (key, self)
        try:
            return list_[-1]
        except IndexError:
            return []
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/utils/datastructures.py/MultiValueDict.__getitem__