class_docstr: Helper class used by deprecate_cython_api
code: def __eq__(self, other):
      res = self._content == other
      if res:
          warnings.warn(
              self._message, category=DeprecationWarning, stacklevel=2
          )
      return res
  
file_path: catboost/contrib/python/scipy/py3/scipy/_lib/deprecation.py
imports: import functools
  import warnings
label_desc: Use image node_id 3 for calling the _DeprecationHelperStr obj's underlying member method code with example usage: obj.__eq__(other) and returns: res