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

Method get_group_prefix

mypyc/codegen/emit.py:324–327  ·  view source on GitHub ↗

Get the group prefix for an object.

(self, obj: ClassIR | FuncDecl)

Source from the content-addressed store, hash-verified

322 return ""
323
324 def get_group_prefix(self, obj: ClassIR | FuncDecl) -> str:
325 """Get the group prefix for an object."""
326 # See docs above
327 return self.get_module_group_prefix(obj.module_name)
328
329 def register_group_dep(self, cl: ClassIR) -> None:
330 """Record `cl`'s defining group as a cross-group dep, if any.

Callers 7

native_function_callMethod · 0.95
wrapper_function_callMethod · 0.95
generate_hash_wrapperFunction · 0.80
generate_len_wrapperFunction · 0.80
generate_vtableFunction · 0.80
visit_callMethod · 0.80

Calls 1

Tested by

no test coverage detected