MCPcopy Index your code
hub / github.com/python/mypy / declare_imports

Method declare_imports

mypyc/codegen/emitmodule.py:1532–1534  ·  view source on GitHub ↗
(self, imps: Iterable[str], emitter: Emitter)

Source from the content-addressed store, hash-verified

1530 self.simple_inits.append((static_name, "Py_None"))
1531
1532 def declare_imports(self, imps: Iterable[str], emitter: Emitter) -> None:
1533 for imp in imps:
1534 self.declare_module(imp, emitter)
1535
1536 def declare_finals(
1537 self, module: str, final_names: Iterable[tuple[str, RType]], emitter: Emitter

Callers 1

Calls 1

declare_moduleMethod · 0.95

Tested by

no test coverage detected