def unpickleModule(name):
    'support function for copy_reg to unpickle module refs'
    if name in oldModules:
        log.msg("Module has moved: %s" % name)
        name = oldModules[name]
        log.msg(name)
    return __import__(name,{},{},'x')
support function for copy_reg to unpickle module refs
stackoverflow/venv/lib/python3.6/site-packages/twisted/persisted/styles.py