def __getitem__(self, idx):
        """
        Provide indexed access, (e.g. 'slides[0]').
        """
        if len(self._sldIdLst) >= idx:
            raise IndexError('slide index out of range')
        rId = self._sldIdLst[idx].rId
        return self._prs.related_parts[rId]
dataset/ETHPy150Open scanny/python-pptx/pptx/parts/presentation.py/_Slides.__getitem__/swapped operands of `>=`