class_docstr: The :class:`GitIgnorePattern` class is deprecated by :class:`GitWildMatchPattern`.
  This class only exists to maintain compatibility with v0.4.
class_docstr_tok: ["The",":","class",":","`","GitIgnorePattern","`","class","is","deprecated","by",":","class",":","`","GitWildMatchPattern","`",".","This","class","only","exists","to","maintain","compatibility","with","v0.4","."]
docstr: Warn about deprecation.
docstr_tok: ["Warn","about","deprecation","."]
code: def __init__(self, *args, **kw) -> None:
      """
      Warn about deprecation.
      """
      self._deprecated()
      super(GitIgnorePattern, self).__init__(*args, **kw)
  
file_path: catboost/contrib/python/pathspec/pathspec/patterns/gitwildmatch.py
imports: import re
  import warnings
  from typing import AnyStr, Optional, Tuple
  from ..None import util
  from ..pattern import RegexPattern
label_desc: Use image node_id 1 to create a new GitIgnorePattern object from inherited base classes: GitWildMatchPattern with example: obj = GitIgnorePattern()