code: def iter(self, max_value: int) -> Iterator[int]:
          
          return chain.from_iterable(
              (self._get_range(elem, max_value) for elem in self.sequences))
docs: Iterates through the sequence numbers contained in the set, bounded
          by the given maximum value (in place of any ``*``).
  
          Args:
              max_value: The maximum value of the set.