'Build a FunctionDescriptor for an object mode variant of a Python
function.'

@classmethod
def from_object_mode_function(cls, func_ir):

    typemap = defaultdict((lambda : types.pyobject))
    calltypes = typemap.copy()
    restype = types.pyobject
    return cls._from_python_function(func_ir, typemap, restype, calltypes, native=False)
