def pickleModule(module):
    'support function for copy_reg to pickle module refs'
    return unpickleModule, (module.__name__,)
support function for copy_reg to pickle module refs
stackoverflow/venv/lib/python3.6/site-packages/twisted/persisted/styles.py