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

Function module_join

mypy/find_sources.py:242–246  ·  view source on GitHub ↗

Join module ids, accounting for a possibly empty parent.

(parent: str, child: str)

Source from the content-addressed store, hash-verified

240
241
242def module_join(parent: str, child: str) -> str:
243 """Join module ids, accounting for a possibly empty parent."""
244 if parent:
245 return parent + "." + child
246 return child
247
248
249def strip_py(arg: str) -> str | None:

Callers 2

crawl_upMethod · 0.85
_crawl_up_helperMethod · 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…