Searched refs:num_excs (Results 1 – 8 of 8) sorted by relevance
874 Py_ssize_t num_excs = PyTuple_Size(self->excs); in BaseExceptionGroup_str() local877 self->msg, num_excs, num_excs > 1 ? "s" : ""); in BaseExceptionGroup_str()913 Py_ssize_t num_excs = PySequence_Size(excs); in exceptiongroup_subset() local914 if (num_excs < 0) { in exceptiongroup_subset()917 else if (num_excs == 0) { in exceptiongroup_subset()1102 Py_ssize_t num_excs = PyTuple_Size(eg->excs); in exceptiongroup_split_recursive() local1103 if (num_excs < 0) { in exceptiongroup_split_recursive()1106 assert(num_excs > 0); /* checked in constructor, and excs is read-only */ in exceptiongroup_split_recursive()1122 for (Py_ssize_t i = 0; i < num_excs; i++) { in exceptiongroup_split_recursive()1262 Py_ssize_t num_excs = PyTuple_GET_SIZE(eg->excs); in collect_exception_group_leaf_ids() local[all …]
937 num_excs = len(exc.exceptions)938 if num_excs <= self.max_group_width:939 n = num_excs961 remaining = num_excs - self.max_group_width
1403 Py_ssize_t num_excs = PyTuple_GET_SIZE(excs); in print_exception_group() local1404 assert(num_excs > 0); in print_exception_group()1406 if (num_excs <= ctx->max_group_width) { in print_exception_group()1407 n = num_excs; in print_exception_group()1459 Py_ssize_t excs_remaining = num_excs - ctx->max_group_width; in print_exception_group()