def __getitem__(self, slc):
        (start, stop), step = self.range, self.samples
        if isinstance(slc, slice):
            if slc.start is not None:
                start = slc.start
            if slc.stop is not None:
                stop = slc.stop
            if slc.step is not None:
                step = slc.step
        else:
            step = slc
        return self(range=(start, stop), samples=step)
A generator that returns player index pairs and match objects for a
dataset/ETHPy150Open ioam/holoviews/holoviews/core/options.py/Palette.__getitem__--crossover with--dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/match_generator.py/RoundRobinMatches.build_matches