def pop(self, key, default=None):
        try:
            result = self[key]
            del self[key]

        except __HOLE__:
            if not default:
                raise

            result = default

        return result
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/collections/dict.py/OrderedDict.pop