class_docstr: Class for mocking deprecated modules.
  
  Parameters
  ----------
  deprmod : name of module to be deprecated.
  deprmodto : name of module as a replacement, optional.
              If not given, the __module__ attribute will
              be used when needed.
  removals : objects or methods in module that will no longer be
             accessible once module is removed.
  moved : dict, optional
          dictionary of function name -> new location for moved
          objects
code: def __init__(
      self, deprmod, deprmodto=None, removals=None, moved=None
  ):
      self.deprmod = deprmod
      self.deprmodto = deprmodto
      self.removals = removals
      if self.removals is not None:
          self.removals = frozenset(self.removals)
      self.moved = moved
  
      # For introspection purposes.
      self.self_dir = frozenset(dir(self.__class__))
  
file_path: catboost/contrib/python/pandas/py2/pandas/util/_depr_module.py
imports: import importlib
  import warnings
label_desc: Use image node_id 1 to create a new _DeprecatedModule object from inherited base classes: object with example: obj = _DeprecatedModule(deprmod, deprmodto, removals, moved)