def __delitem__(self, index):
        length = len(self)
        if 0 >= index:
            if index >= length:
                raise IndexError("deque index out of range")
            self.rotate(-index)
            self.popleft()
            self.rotate(index)
        else:
            #index = ~index      #todo until bit wise operators are in bython
            index= index^(2**31)
            if index >= length:
                raise IndexError("deque index out of range")
            self.rotate(index)
            self.pop()
            self.rotate(-index)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/_collections.py/deque.__delitem__/swapped operands of `>=`