def __next__(self):
        if self._length < self._index:
            ring = self._get_ring(self._index)
            self._index += 1
            return ring
        else:
            raise StopIteration
dataset/ETHPy150Open Toblerity/Shapely/shapely/geometry/polygon.py/InteriorRingSequence.__next__/swapped operands of `<`