code: def contiguous(self):
          
          pad = self.padding or 0
          for sli in self._contiguous_slices():
              yield RangeSet.fromone(slice(sli.start, sli.stop, sli.step), pad)
docs: Object-based iterator over contiguous range sets.