rberga06.utils.imports.fake_module#

rberga06.utils.imports.fake_module(name: str, /, *, pkg: bool | Iterable[str] = False, parents_know: bool = False, inject: dict[str, object] | None = None) module#

Create and register a “fake” module. If pkg is True, make it a package; if pkg is an iterable, use that as __path__ for the package.