class_docstr: The :class:`Pattern` class is the abstract definition of a pattern.
docstr: Matches this pattern against the specified files.
  
  *files* (:class:`~collections.abc.Iterable` of :class:`str`) contains
  each file relative to the root directory (e.g., ``"relative/path/to/file"``).
  
  Returns an :class:`~collections.abc.Iterable` yielding each matched
  file path (:class:`str`).
code: def match(self, files):
      """
      Matches this pattern against the specified files.
  
      *files* (:class:`~collections.abc.Iterable` of :class:`str`) contains
      each file relative to the root directory (e.g., ``"relative/path/to/file"``).
  
      Returns an :class:`~collections.abc.Iterable` yielding each matched
      file path (:class:`str`).
      """
      raise NotImplementedError(
          "{}.{} must override match().".format(
              self.__class__.__module__, self.__class__.__name__
          )
      )
  
file_path: ray/python/ray/_private/thirdparty/pathspec/pattern.py
imports: import re
  from .compat import unicode
label_desc: Use image node_id 2 for calling the Pattern obj's underlying member method code with example usage: obj.match(files) without return types