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

Method is_native_module

mypyc/irbuild/builder.py:1157–1159  ·  view source on GitHub ↗

Is the given module one compiled by mypyc?

(self, module: str)

Source from the content-addressed store, hash-verified

1155 return echk.check_method_call_by_name("__next__", iterator, [], [], expr)[0]
1156
1157 def is_native_module(self, module: str) -> bool:
1158 """Is the given module one compiled by mypyc?"""
1159 return self.mapper.is_native_module(module)
1160
1161 def is_same_group_module(self, module: str) -> bool:
1162 """Is the given module in the same compilation group as the current module?

Callers 2

gen_importMethod · 0.95
get_final_refMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected