Lines Matching refs:add_attributes
526 static int add_attributes(PyTypeObject* type, char**attrs, int num_fields) in add_attributes() function
676 if (!add_attributes(mod_type, NULL, 0)) return 0; in init_types()
689 if (!add_attributes(stmt_type, stmt_attributes, 2)) return 0; in init_types()
741 if (!add_attributes(expr_type, expr_attributes, 2)) return 0; in init_types()
789 if (!add_attributes(expr_context_type, NULL, 0)) return 0; in init_types()
816 if (!add_attributes(slice_type, NULL, 0)) return 0; in init_types()
827 if (!add_attributes(boolop_type, NULL, 0)) return 0; in init_types()
838 if (!add_attributes(operator_type, NULL, 0)) return 0; in init_types()
889 if (!add_attributes(unaryop_type, NULL, 0)) return 0; in init_types()
908 if (!add_attributes(cmpop_type, NULL, 0)) return 0; in init_types()
954 if (!add_attributes(excepthandler_type, excepthandler_attributes, 2)) in init_types()