def name(func, string, *suffix): '''Set the name of the function ``func`` to ``string``.''' res = (string,) + suffix return set_name(func, interface.tuplename(*res))