def pop(self, key, *args):
        try:
            o = self.data.pop(key)()
        except __HOLE__:
            if args:
                return args[0]
            raise
        if o is None:
            raise KeyError, key
        else:
            return o
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/weakref.py/WeakValueDictionary.pop