def pop(self, k, *args):
        result = super(OrderedDict, self).pop(k, *args)
        try:
            self.keyOrder.remove(k)
        except __HOLE__:
            # Key wasn't in the dictionary in the first place. No problem.
            pass
        return result
dataset/ETHPy150Open dragondjf/QMarkdowner/markdown/odict.py/OrderedDict.pop