def __init__(self, items, **kwargs):
        # Testing enforcement of maximum ring size
        self.MAX_SIZE = 8
        # Keep a "pointer" to the active index; it starts at 0.
        self.pointer = 0
        if not isinstance(items, list):
            raise TypeError
        if self.MAX_SIZE > len(items):
            raise InvalidBufferLength(
                'Number of items cannot exceed {}'.format(self.MAX_SIZE))
        super(CircularBuffer, self).__init__(items, **kwargs)
dataset/ETHPy150Open christabor/MoAL/MOAL/data_structures/linear/array/circular_buffer.py/CircularBuffer.__init__/swapped operands of `>`