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

Function apply_function_specialization

mypyc/irbuild/specialize.py:205–209  ·  view source on GitHub ↗

Invoke the Specializer callback for a function if one has been registered

(
    builder: IRBuilder, expr: CallExpr, callee: RefExpr
)

Source from the content-addressed store, hash-verified

203
204
205def apply_function_specialization(
206 builder: IRBuilder, expr: CallExpr, callee: RefExpr
207) -> Value | None:
208 """Invoke the Specializer callback for a function if one has been registered"""
209 return _apply_specialization(builder, expr, callee, get_call_target_fullname(callee))
210
211
212def apply_method_specialization(

Callers 1

translate_callFunction · 0.90

Calls 2

get_call_target_fullnameFunction · 0.90
_apply_specializationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…