def _fill_defaults(context, builder, sig, args, defaults):
    ty = sig.return_type
    llty = context.get_data_type(ty)
    args = tuple(args) + tuple(ir.Constant(llty, d) for d in defaults[len(args):])
    sig = signature(*(ty,) * (len(args) + 1))
    return sig, args
Called when an extension is double-clicked.
dataset/ETHPy150Open numba/numba/numba/targets/randomimpl.py/_fill_defaults--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/developer/ui/view/extension_registry_browser.py/ExtensionRegistryBrowser.dclick_extension