# rich 15.0.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Simplify an iterable of segments by combining contiguous segments with the same style.

        Args:
            segments (Iterable[Segment]): An iterable of segments.

        Returns:
            Iterable[Segment]: A possibly smaller iterable of segments that will render the same way.
        
=== parse google
short_description: 'Simplify an iterable of segments by combining contiguous segments with the same style.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'An iterable of segments.'
  kind: param
  key: 'param'
  arg_name: 'segments'
  type_name: 'Iterable[Segment]'
  is_optional: False
- DocstringReturns
  description: 'A possibly smaller iterable of segments that will render the same way.'
  kind: returns
  key: 'returns'
  type_name: 'Iterable[Segment]'
  is_generator: False
=== detect
google
=== compose google
Simplify an iterable of segments by combining contiguous segments with the same style.

Args:
    segments (Iterable[Segment]): An iterable of segments.

Returns:
    Iterable[Segment]: A possibly smaller iterable of segments that will render the same way.
