def deprecated_module(removal_version, hint_message=None):
  warn_or_error(removal_version, 'module', hint_message)
Marks an entire module as deprecated.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/deprecated.py/deprecated_module