Lines Matching defs:match
906 * This function is used by split() to construct the match/rest parts,
1065 PyObject *match;
1076 result->match = NULL;
1086 /* Full match */
1087 result->match = Py_NewRef(exc);
1091 /* Leaf exception and no match */
1098 /* Partial match */
1131 assert(!rec_result.match);
1137 if (rec_result.match) {
1139 if (PyList_Append(match_list, rec_result.match) < 0) {
1140 Py_DECREF(rec_result.match);
1144 Py_DECREF(rec_result.match);
1158 if (exceptiongroup_subset(eg, match_list, &result->match) < 0) {
1165 Py_CLEAR(result->match);
1174 Py_CLEAR(result->match);
1203 split_result.match ? split_result.match : Py_None,
1206 Py_XDECREF(split_result.match);
1233 split_result.match ? split_result.match : Py_None);
1235 Py_XDECREF(split_result.match);
1316 PyObject *result = split_result.match ?
1317 split_result.match : Py_NewRef(Py_None);