class_docstr: The :class:`.MatchDetail` class contains information about
docstr: Initialize the :class:`.MatchDetail` instance.
  
  *patterns* (:class:`~collections.abc.Sequence` of :class:`~pathspec.pattern.Pattern`)
  contains the patterns that matched the file in the order they were
  encountered.
docstr_tok: ["Initialize","the",":","class",":","`",".MatchDetail","`","instance",".","*","patterns","*","(",":","class",":","`","~collections.abc.Sequence","`","of",":","class",":","`","~pathspec.pattern.Pattern","`",")","contains","the","patterns","that","matched","the","file","in","the","order","they","were","encountered","."]
code: def __init__(self, patterns: Sequence[Pattern]) -> None:
      """
      Initialize the :class:`.MatchDetail` instance.
  
      *patterns* (:class:`~collections.abc.Sequence` of :class:`~pathspec.pattern.Pattern`)
      contains the patterns that matched the file in the order they were
      encountered.
      """
  
      self.patterns = patterns
      """
  		*patterns* (:class:`~collections.abc.Sequence` of :class:`~pathspec.pattern.Pattern`)
  		contains the patterns that matched the file in the order they were
  		encountered.
  		"""
  
imports: import os
  import os.path
  import pathlib
  import posixpath
  import stat
  import sys
  import warnings
  from collections.abc import Collection, Iterable
  from dataclasses import dataclass
  from os import PathLike
  from typing import Any, AnyStr, Callable, Collection, Dict, Generic, Iterable, Iterator, List, Optional, Sequence, Set, Tuple, TypeVar, Union
  from .pattern import Pattern
label_desc: Use image node_id 1 to create a new MatchDetail object from inherited base classes: object with example: obj = MatchDetail(patterns)