Home
last modified time | relevance | path

Searched refs:is_subclass (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Python/
D_warnings.c313 int is_subclass, good_msg, good_mod; in get_filter() local
350 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()
Derrors.c345 int is_subclass = 0; in _PyErr_NormalizeException() local
349 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException()
350 if (is_subclass < 0) { in _PyErr_NormalizeException()
360 if (!is_subclass) { in _PyErr_NormalizeException()