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

Function load_singledispatch_registry

mypyc/irbuild/function.py:1119–1120  ·  view source on GitHub ↗
(builder: IRBuilder, dispatch_func_obj: Value, line: int)

Source from the content-addressed store, hash-verified

1117
1118
1119def load_singledispatch_registry(builder: IRBuilder, dispatch_func_obj: Value, line: int) -> Value:
1120 return builder.builder.get_attr(dispatch_func_obj, "registry", dict_rprimitive, line)
1121
1122
1123def singledispatch_main_func_name(orig_name: str) -> str:

Calls 1

get_attrMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…