def METHOD_NAME(
        name: str,
        *,
        parent: Optional[ModuleType] = None,
        doc: Optional[str] = None,
) -> ModuleType:
    if parent is not None:
        name_full = parent.__name__ + "." + name
    else:
        name_full = name
    module = ModuleType(name, doc)
    _module_file_set(module, name_full)
    if parent is not None:
        setattr(parent, name, module)
    return module