

def get(self, key, default=None):
    "Returns the default value if the requested data doesn't exist"
    try:
        val = self[key]
    except KeyError:
        return default
    if (val == []):
        return default
    return val

dataset/ETHPy150Open kdart/pycopia/aid/pycopia/dictlib.py MultiValueDict.get/original