class_docstr: The :class:`Pattern` class is the abstract definition of a pattern.
docstr: Initializes the :class:`Pattern` instance.
  
  *include* (:class:`bool` or :data:`None`) is whether the matched
  files should be included (:data:`True`), excluded (:data:`False`),
  or is a null-operation (:data:`None`).
code: def __init__(self, include):
      """
      Initializes the :class:`Pattern` instance.
  
      *include* (:class:`bool` or :data:`None`) is whether the matched
      files should be included (:data:`True`), excluded (:data:`False`),
      or is a null-operation (:data:`None`).
      """
  
      self.include = include
      """
  		*include* (:class:`bool` or :data:`None`) is whether the matched
  		files should be included (:data:`True`), excluded (:data:`False`),
  		or is a null-operation (:data:`None`).
  		"""
  
file_path: ray/python/ray/_private/thirdparty/pathspec/pattern.py
imports: import re
  from .compat import unicode
label_desc: Use image node_id 1 to create a new Pattern object from inherited base classes: object with example: obj = Pattern(include)