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

Function is_from_module

mypyc/irbuild/prepare.py:161–162  ·  view source on GitHub ↗
(node: SymbolNode, module: MypyFile)

Source from the content-addressed store, hash-verified

159
160
161def is_from_module(node: SymbolNode, module: MypyFile) -> bool:
162 return node.fullname == module.fullname + "." + node.name
163
164
165def load_type_map(mapper: Mapper, modules: list[MypyFile], deser_ctx: DeserMaps) -> None:

Callers 2

load_type_mapFunction · 0.85
get_module_func_defsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…