class_docstr: The :class:`Pattern` class is the abstract definition of a pattern.
class_docstr_tok: ["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`).
docstr_tok: ["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: Optional[bool]) -> None:
      """
      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: catboost/contrib/python/pathspec/pathspec/pattern.py
imports: import dataclasses
  import re
  import warnings
  from typing import Any, AnyStr, Iterable, Iterator, Match, Optional, Pattern, Tuple, Union
label_desc: Use image node_id 1 to create a new Pattern object from inherited base classes: object with example: obj = Pattern(include)