Lines Matching refs:match_args
1025 PyObject *match_args = NULL; in match_class() local
1029 match_args = PyObject_GetAttrString(type, "__match_args__"); in match_class()
1030 if (match_args) { in match_class()
1031 if (!PyTuple_CheckExact(match_args)) { in match_class()
1035 Py_TYPE(match_args)->tp_name); in match_class()
1045 match_args = PyTuple_New(0); in match_class()
1052 assert(PyTuple_CheckExact(match_args)); in match_class()
1053 Py_ssize_t allowed = match_self ? 1 : PyTuple_GET_SIZE(match_args); in match_class()
1068 PyObject *name = PyTuple_GET_ITEM(match_args, i); in match_class()
1084 Py_CLEAR(match_args); in match_class()
1102 Py_XDECREF(match_args); in match_class()