def pop(self, key, *args):
        try:
            item = dict.__getitem__(self, key)
            self.__delitem__(key)
        except __HOLE__:
            if args:
                item = args[0]
            else:
                raise
        return item
dataset/ETHPy150Open kdart/pycopia/aid/pycopia/dictlib.py/SortedDict.pop