'Replace type(o) by a macro call to Py_TYPE(o).'

def _handle_simple_function_type(self, node, function, pos_args):

    if (len(pos_args) != 1):
        return node
    node = ExprNodes.PythonCapiCallNode(node.pos, 'Py_TYPE', self.Pyx_Type_func_type, args=pos_args, is_temp=False)
    return ExprNodes.CastNode(node, PyrexTypes.py_object_type)
