code: def _check_obsolete(key):
      if key in _obsolete_constants and key not in _aliases:
          warnings.warn(
              "Constant '%s' is not in current %s data set"
              % (key, _current_codata),
              ConstantWarning,
          )
  
file_path: catboost/contrib/python/scipy/py3/scipy/constants/codata.py
imports: import warnings
  from math import pi, sqrt
label_desc: Use image node_id 3 for calling a global function with example usage: _check_obsolete(key) without return types