def pop(self, key, default=None):
        v = self.get(key, default)
        try:
            delattr(self, key)
        except __HOLE__:
            pass
        return v
dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/base/datastructures.py/StrictDict.pop