class_docstr: The :class:`PathSpec` class is a wrapper around a list of compiled
  :class:`.Pattern` instances.
class_docstr_tok: ["The",":","class",":","`","PathSpec","`","class","is","a","wrapper","around","a","list","of","compiled",":","class",":","`",".Pattern","`","instances","."]
docstr: Adds the :attr:`Pathspec.patterns` patterns from one :class:`PathSpec`
  instance to this instance.
docstr_tok: ["Adds","the",":","attr",":","`","Pathspec.patterns","`","patterns","from","one",":","class",":","`","PathSpec","`","instance","to","this","instance","."]
code: def __iadd__(self: Self, other: "PathSpec") -> Self:
      """
      Adds the :attr:`Pathspec.patterns` patterns from one :class:`PathSpec`
      instance to this instance.
      """
      if isinstance(other, PathSpec):
          self.patterns += other.patterns
          return self
      else:
          return NotImplemented
  
imports: from collections.abc import Collection
  from itertools import zip_longest
  from typing import AnyStr, Callable, Collection, Iterable, Iterator, Optional, Type, TypeVar, Union
  from .None import util
  from .pattern import Pattern
  from .util import CheckResult, StrPath, TStrPath, TreeEntry, _filter_check_patterns, _is_iterable, normalize_file
label_desc: Use image node_id 5 for calling the PathSpec obj's underlying member method code with example usage: obj.__iadd__(other) and returns: self, NotImplemented