def deprecated_module(removal_version, hint_message=None):
 warn_or_error(removal_version, u'module', hint_message)

def deprecated_module ( removal_version , hint_message = None ) : warn_or_error ( removal_version , u'module' , hint_message )
marks an entire module as deprecated .