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

Function shared_lib_name

mypyc/common.py:110–115  ·  view source on GitHub ↗

Given a group name, return the actual name of its extension module. (This just adds a suffix to the final component.)

(group_name: str)

Source from the content-addressed store, hash-verified

108
109
110def shared_lib_name(group_name: str) -> str:
111 """Given a group name, return the actual name of its extension module.
112
113 (This just adds a suffix to the final component.)
114 """
115 return f"{group_name}__mypyc"
116
117
118def short_name(name: str) -> str:

Callers 5

build_using_shared_libFunction · 0.90
gen_importMethod · 0.90
emit_module_init_funcMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…