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

Method is_native_module

mypyc/irbuild/mapper.py:231–233  ·  view source on GitHub ↗

Is the given module one compiled by mypyc?

(self, module: str)

Source from the content-addressed store, hash-verified

229 return FuncSignature(args, ret)
230
231 def is_native_module(self, module: str) -> bool:
232 """Is the given module one compiled by mypyc?"""
233 return module in self.group_map
234
235 def is_native_ref_expr(self, expr: RefExpr) -> bool:
236 if expr.node is None:

Callers 4

is_native_ref_exprMethod · 0.95
transform_import_fromFunction · 0.45
classify_import_fromFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected