Lines Matching refs:add_attributes
680 static int add_attributes(PyTypeObject* type, char**attrs, int num_fields) in add_attributes() function
845 if (!add_attributes(mod_type, NULL, 0)) return 0; in init_types()
857 if (!add_attributes(stmt_type, stmt_attributes, 2)) return 0; in init_types()
912 if (!add_attributes(expr_type, expr_attributes, 2)) return 0; in init_types()
978 if (!add_attributes(expr_context_type, NULL, 0)) return 0; in init_types()
1005 if (!add_attributes(slice_type, NULL, 0)) return 0; in init_types()
1014 if (!add_attributes(boolop_type, NULL, 0)) return 0; in init_types()
1025 if (!add_attributes(operator_type, NULL, 0)) return 0; in init_types()
1080 if (!add_attributes(unaryop_type, NULL, 0)) return 0; in init_types()
1099 if (!add_attributes(cmpop_type, NULL, 0)) return 0; in init_types()
1143 if (!add_attributes(comprehension_type, NULL, 0)) return 0; in init_types()
1146 if (!add_attributes(excepthandler_type, excepthandler_attributes, 2)) in init_types()
1153 if (!add_attributes(arguments_type, NULL, 0)) return 0; in init_types()
1156 if (!add_attributes(arg_type, arg_attributes, 2)) return 0; in init_types()
1159 if (!add_attributes(keyword_type, NULL, 0)) return 0; in init_types()
1162 if (!add_attributes(alias_type, NULL, 0)) return 0; in init_types()
1165 if (!add_attributes(withitem_type, NULL, 0)) return 0; in init_types()