def deprecatedModuleAttribute(version, message, moduleName, name):
    module = sys.modules[moduleName]
    if not isinstance(module, _ModuleProxy):
        module = _ModuleProxy(module)
        sys.modules[moduleName] = module

    _deprecateAttribute(module, name, version, message)
Declare a module-level attribute as being deprecated.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/deprecate.py/deprecatedModuleAttribute