'Removes and returns item at specified index (default=last).
Will work with either numeric indices or dict-key indicies.'

def pop(self, index=(-1)):

    ret = self[index]
    del self[index]
    return ret
