parameters: (matches)
return_statement: return _SequenceIterableView(matches)
docstring: Build an iterable view from the value returned by `find_matches()`.
docstring_summary: Build an iterable view from the value returned by `find_matches()`.
docstring_tokens: Build an iterable view from the value returned by find_matches () .
function: def build_iter_view(matches):
  
      """Build an iterable view from the value returned by `find_matches()`."""
  
      if callable(matches):
  
          return _FactoryIterableView(matches)
  
      if not isinstance(matches, collections_abc.Sequence):
  
          matches = list(matches)
  
      return _SequenceIterableView(matches)
function_tokens: def build_iter_view ( matches ) : if callable ( matches ) : return _FactoryIterableView ( matches ) if not isinstance ( matches , collections_abc . Sequence ) : matches = list ( matches ) return _SequenceIterableView ( matches )