Searched refs:is_subclass (Results 1 – 2 of 2) sorted by relevance
313 int is_subclass, good_msg, good_mod; in get_filter() local350 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()351 if (is_subclass == -1) { in get_filter()362 if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln)) { in get_filter()
345 int is_subclass = 0; in _PyErr_NormalizeException() local349 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException()350 if (is_subclass < 0) { in _PyErr_NormalizeException()360 if (!is_subclass) { in _PyErr_NormalizeException()