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

Method load_module

mypyc/irbuild/ll_builder.py:1552–1553  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

1550 return value
1551
1552 def load_module(self, name: str) -> Value:
1553 return self.add(LoadStatic(object_rprimitive, name, namespace=NAMESPACE_MODULE))
1554
1555 def get_native_type(self, cls: ClassIR) -> Value:
1556 """Load native type object."""

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
LoadStaticClass · 0.90

Tested by

no test coverage detected